diff --git a/tractor/_root.py b/tractor/_root.py index 8f4eb9a..6013d50 100644 --- a/tractor/_root.py +++ b/tractor/_root.py @@ -174,8 +174,7 @@ async def open_root_actor( finally: logger.info("Shutting down root actor") - with trio.CancelScope(shield=True): - await actor.cancel() + await actor.cancel() finally: _state._current_actor = None logger.info("Root actor terminated")