From 6aa390f7147c505219e14a7d9c8e9fd9d9292706 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 e4d1b9a..2e785f0 100644 --- a/tractor/_trionics.py +++ b/tractor/_trionics.py @@ -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