Skip to content
This repository has been archived by the owner on Dec 28, 2020. It is now read-only.

Close done channels #1

Open
rakyll opened this issue Jan 20, 2014 · 0 comments
Open

Close done channels #1

rakyll opened this issue Jan 20, 2014 · 0 comments

Comments

@rakyll
Copy link
Owner

rakyll commented Jan 20, 2014

It's better to close the done channels right after a signal is sent. If coop user is accidently reading from done channels in multiple cases, they will be blocked forever. Closing a channel makes it eternally non-blocking.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant