Skip to content

Commit

Permalink
Set eoc on closure (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
goodboy committed Dec 16, 2021
1 parent 1652716 commit 57f2aca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tractor/_streaming.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ async def aclose(self):
# 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:
Expand Down

0 comments on commit 57f2aca

Please sign in to comment.