forked from goodboy/tractor
1
0
Fork 0

Don't clobber msg loop mem chan...

prehardkill
Tyler Goodlet 2021-06-14 13:27:52 -04:00
parent 7e2a054dd7
commit 186968d3e7
1 changed files with 0 additions and 6 deletions

View File

@ -332,12 +332,6 @@ class Portal:
# message right now since there shouldn't be a reason to # message right now since there shouldn't be a reason to
# stop and restart the stream, right? # stop and restart the stream, right?
try: try:
# We are for sure done with this stream and no more
# messages are expected to be delivered from the
# runtime's msg loop.
await recv_chan.aclose()
await ctx.cancel() await ctx.cancel()
except trio.ClosedResourceError: except trio.ClosedResourceError: