Skip to content

Commit

Permalink
Pass uid not actor object
Browse files Browse the repository at this point in the history
  • Loading branch information
goodboy committed Oct 14, 2021
1 parent 7ee121a commit 51259c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tractor/_debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ async def _breakpoint(
with trio.CancelScope(shield=True):
await actor._service_n.start(
wait_for_parent_stdin_hijack,
actor,
actor.uid,
)

elif is_root_process():
Expand Down Expand Up @@ -552,7 +552,7 @@ async def _maybe_enter_pm(err):

@acm
async def acquire_debug_lock(
subactor_uid: Tuple[str, str]
subactor_uid: Tuple[str, str],
) -> AsyncGenerator[None, tuple]:
'''
Grab root's debug lock on entry, release on exit.
Expand Down

0 comments on commit 51259c4

Please sign in to comment.