Skip to content

Commit

Permalink
Port to service nursery
Browse files Browse the repository at this point in the history
  • Loading branch information
goodboy committed Aug 9, 2020
1 parent f20f9fc commit 3218fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tractor/_debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ async def _bp():
# 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
Expand Down

0 comments on commit 3218fa8

Please sign in to comment.