From bd157e05efecde891e4e61fdf488991dfe766997 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sat, 8 Aug 2020 23:00:56 -0400 Subject: [PATCH] Port to service nursery --- tractor/_debug.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tractor/_debug.py b/tractor/_debug.py index b3a630b..baa293e 100644 --- a/tractor/_debug.py +++ b/tractor/_debug.py @@ -185,7 +185,7 @@ def _breakpoint(debug_func) -> Awaitable[None]: # this **must** be awaited by the caller and is done using the # root nursery so that the debugger can continue to run without # being restricted by the scope of a new task nursery. - await actor._root_nursery.start(wait_for_parent_stdin_hijack) + await actor._service_n.start(wait_for_parent_stdin_hijack) # block here one (at the appropriate frame *up* where # ``breakpoint()`` was awaited and begin handling stdio