Set eoc on closure (again)

end_of_channel_fixes
Tyler Goodlet 2021-12-15 17:19:04 -05:00
parent 1652716574
commit 57f2aca18c
1 changed files with 1 additions and 0 deletions

View File

@ -186,6 +186,7 @@ class ReceiveMsgStream(trio.abc.ReceiveChannel):
# https://trio.readthedocs.io/en/stable/reference-io.html#trio.abc.AsyncResource.aclose
return
self._eoc = True
self._closed = True
# NOTE: this is super subtle IPC messaging stuff: