Don't shield debugger status wait; it causes hangs

wip_fix_asyncio_gen_streaming
Tyler Goodlet 2021-06-02 08:24:59 -04:00
parent f943ea0119
commit 727a2084d6
1 changed files with 1 additions and 2 deletions

View File

@ -393,7 +393,6 @@ 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