forked from goodboy/tractor
Drop shielding on root lock acquire; seems to prevent hangs
parent
61d2307e52
commit
3208b67f57
|
@ -298,8 +298,8 @@ async def _open_and_supervise_one_cancels_all_nursery(
|
||||||
f'child {_debug._global_actor_in_debug}\n'
|
f'child {_debug._global_actor_in_debug}\n'
|
||||||
'Waiting on tty lock to release..')
|
'Waiting on tty lock to release..')
|
||||||
|
|
||||||
with trio.CancelScope(shield=True):
|
# with trio.CancelScope(shield=True):
|
||||||
await debug_complete.wait()
|
await debug_complete.wait()
|
||||||
|
|
||||||
# if the caller's scope errored then we activate our
|
# if the caller's scope errored then we activate our
|
||||||
# one-cancels-all supervisor strategy (don't
|
# one-cancels-all supervisor strategy (don't
|
||||||
|
|
Loading…
Reference in New Issue