Don't shield on root cancel it can causes hangs
parent
625fc87410
commit
65aa1f3e2a
|
@ -179,7 +179,6 @@ async def open_root_actor(
|
|||
|
||||
finally:
|
||||
logger.info("Shutting down root actor")
|
||||
with trio.CancelScope(shield=True):
|
||||
await actor.cancel()
|
||||
finally:
|
||||
_state._current_actor = None
|
||||
|
|
Loading…
Reference in New Issue