def _deactivate(self, cookie):
        _current_contexts[cookie.thread_id] = cookie.prev_context
re-set the previous context as the current context
dataset/ETHPy150Open manahl/mdf/mdf/context.py/MDFContext._deactivate