From 727a2084d6f0de9f844d5e78cdc4915cf8374d04 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 6a522ec..0cb89c4 100644 --- a/tractor/_trionics.py +++ b/tractor/_trionics.py @@ -393,8 +393,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