From 5dc07f04557932322895c54eeafc960217454e37 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 11 Nov 2022 17:56:12 -0500 Subject: [PATCH] Don't unset actor global on root teardown --- tractor/_root.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tractor/_root.py b/tractor/_root.py index cb405f5..b6aa895 100644 --- a/tractor/_root.py +++ b/tractor/_root.py @@ -243,7 +243,6 @@ async def open_root_actor( logger.cancel("Shutting down root actor") await actor.cancel() finally: - _state._current_actor = None logger.runtime("Root actor terminated")