Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop channel based async gen streams on exit #47

Merged
merged 1 commit into from
Nov 30, 2018
Merged

Stop channel based async gen streams on exit #47

merged 1 commit into from
Nov 30, 2018

Conversation

goodboy
Copy link
Owner

@goodboy goodboy commented Nov 30, 2018

I'm not sure how this ever worked but when a "fake" async gen
(i.e. function with special chan, cid kwargs) is completed
we need to signal the end of the stream just like with normal
async gens. Also don't fail when trying to remove tasks that were
never tracked.

Fixes #46

I'm not sure how this ever worked but when a "fake" async gen
(i.e. function with special `chan`, `cid` kwargs) is completed
we need to signal the end of the stream just like with normal
async gens. Also don't fail when trying to remove tasks that were
never tracked.

Fixes #46
@goodboy goodboy merged commit 1a81ef2 into master Nov 30, 2018
@goodboy goodboy deleted the fix_46 branch August 19, 2021 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant