Don't unset actor global on root teardown

dun_unset_current_actor
Tyler Goodlet 2022-11-11 17:56:12 -05:00
parent 588b7ca7bf
commit 55ec4d2a8b
1 changed files with 0 additions and 1 deletions

View File

@ -243,7 +243,6 @@ async def open_root_actor(
logger.cancel("Shutting down root actor") logger.cancel("Shutting down root actor")
await actor.cancel() await actor.cancel()
finally: finally:
_state._current_actor = None
logger.runtime("Root actor terminated") logger.runtime("Root actor terminated")