forked from goodboy/tractor
Don't shield debugger status wait; it causes hangs
parent
f943ea0119
commit
727a2084d6
|
@ -393,8 +393,7 @@ async def open_nursery(
|
||||||
log.warning(
|
log.warning(
|
||||||
"Root has errored but pdb is active..waiting "
|
"Root has errored but pdb is active..waiting "
|
||||||
"on debug lock")
|
"on debug lock")
|
||||||
with trio.CancelScope(shield=True):
|
await _debug._pdb_complete.wait()
|
||||||
await _debug._pdb_complete.wait()
|
|
||||||
|
|
||||||
raise
|
raise
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue