From 37a1897c4725566b102b694a9bcc41ffc7ba572a Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 2 Jun 2021 08:24:59 -0400 Subject: [PATCH] Don't shield debugger status wait; it causes hangs --- tractor/_trionics.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tractor/_trionics.py b/tractor/_trionics.py index 8f0bcf0..66080e0 100644 --- a/tractor/_trionics.py +++ b/tractor/_trionics.py @@ -385,8 +385,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