Skip to content

Commit 1f73dd2

Browse files
committed
Oof, fix remaining Actor.cancel() in Actor._from_parent()
1 parent 59ddec8 commit 1f73dd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tractor/_runtime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,7 @@ async def _from_parent(
998998
log.warning(
999999
f"Failed to connect to parent @ {parent_addr},"
10001000
" closing server")
1001-
await self.cancel()
1001+
await self.cancel(requesting_uid=self.uid)
10021002
raise
10031003

10041004
async def _serve_forever(

0 commit comments

Comments
 (0)