Don't shield debugger status wait; it causes hangs

ctx_debugger_from_hardening
Tyler Goodlet 2021-06-02 08:24:59 -04:00
parent 11f8d14e38
commit da9a33bf37
1 changed files with 1 additions and 2 deletions

View File

@ -383,7 +383,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