Don't shield debugger status wait; it causes hangs

debugger_hardening
Tyler Goodlet 2021-06-02 08:24:59 -04:00
parent c74c2956e4
commit e03d3c9fa8
1 changed files with 1 additions and 2 deletions

View File

@ -384,8 +384,7 @@ async def open_nursery(
log.warning(
"Root has errored but pdb is active..waiting "
"on debug lock")
with trio.CancelScope(shield=True):
await _debug._pdb_complete.wait()
await _debug._pdb_complete.wait()
raise