forked from goodboy/tractor
1
0
Fork 0

Drop shielding on root lock acquire; seems to prevent hangs

alpha2
Tyler Goodlet 2021-09-02 13:02:01 -04:00
parent 61d2307e52
commit 3208b67f57
1 changed files with 2 additions and 2 deletions

View File

@ -298,8 +298,8 @@ async def _open_and_supervise_one_cancels_all_nursery(
f'child {_debug._global_actor_in_debug}\n'
'Waiting on tty lock to release..')
with trio.CancelScope(shield=True):
await debug_complete.wait()
# with trio.CancelScope(shield=True):
await debug_complete.wait()
# if the caller's scope errored then we activate our
# one-cancels-all supervisor strategy (don't