forked from goodboy/tractor
Fix missing await
parent
a88a6ba7a3
commit
c41e5c8313
|
@ -541,7 +541,7 @@ class Actor:
|
||||||
# channel disconnect
|
# channel disconnect
|
||||||
log.debug(
|
log.debug(
|
||||||
f"{chan} from {chan.uid} disconnected, cancelling all rpc tasks")
|
f"{chan} from {chan.uid} disconnected, cancelling all rpc tasks")
|
||||||
self.cancel_rpc_tasks(chan)
|
await self.cancel_rpc_tasks(chan)
|
||||||
|
|
||||||
except trio.ClosedResourceError:
|
except trio.ClosedResourceError:
|
||||||
log.error(f"{chan} form {chan.uid} broke")
|
log.error(f"{chan} form {chan.uid} broke")
|
||||||
|
|
Loading…
Reference in New Issue