From da9a33bf37aee1de44e8a242861502ed8de77bc8 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 3c58102..a03c679 100644 --- a/tractor/_trionics.py +++ b/tractor/_trionics.py @@ -383,8 +383,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