forked from goodboy/tractor
1
0
Fork 0

Pass uid not actor object

immediate_remote_cancels
Tyler Goodlet 2021-10-14 13:46:27 -04:00
parent 7ee121aeaf
commit 51259c4809
1 changed files with 2 additions and 2 deletions

View File

@ -410,7 +410,7 @@ async def _breakpoint(
with trio.CancelScope(shield=True): with trio.CancelScope(shield=True):
await actor._service_n.start( await actor._service_n.start(
wait_for_parent_stdin_hijack, wait_for_parent_stdin_hijack,
actor, actor.uid,
) )
elif is_root_process(): elif is_root_process():
@ -552,7 +552,7 @@ async def _maybe_enter_pm(err):
@acm @acm
async def acquire_debug_lock( async def acquire_debug_lock(
subactor_uid: Tuple[str, str] subactor_uid: Tuple[str, str],
) -> AsyncGenerator[None, tuple]: ) -> AsyncGenerator[None, tuple]:
''' '''
Grab root's debug lock on entry, release on exit. Grab root's debug lock on entry, release on exit.