forked from goodboy/tractor
1
0
Fork 0

Port to service nursery

debug_tests
Tyler Goodlet 2020-08-08 23:00:56 -04:00
parent fd5fb9241a
commit bd157e05ef
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ def _breakpoint(debug_func) -> Awaitable[None]:
# this **must** be awaited by the caller and is done using the # this **must** be awaited by the caller and is done using the
# root nursery so that the debugger can continue to run without # root nursery so that the debugger can continue to run without
# being restricted by the scope of a new task nursery. # 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 # block here one (at the appropriate frame *up* where
# ``breakpoint()`` was awaited and begin handling stdio # ``breakpoint()`` was awaited and begin handling stdio