forked from goodboy/tractor
1
0
Fork 0

Fix missing await

bug_in_debug
Tyler Goodlet 2020-10-13 00:45:29 -04:00
parent a88a6ba7a3
commit c41e5c8313
1 changed files with 1 additions and 1 deletions

View File

@ -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")