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

Close, cancel or something else to channel #11

Closed
fdabrao opened this issue Nov 28, 2016 · 3 comments
Closed

Close, cancel or something else to channel #11

fdabrao opened this issue Nov 28, 2016 · 3 comments
Labels

Comments

@fdabrao
Copy link

fdabrao commented Nov 28, 2016

Hello,

What do I need to do after using channel? Close, cancel or what? In my program I restart the system if some fatal error happen. So, how to I dispose the used channel?

Best Regards

@michaelklishin
Copy link
Member

Close it.

@fdabrao
Copy link
Author

fdabrao commented Nov 28, 2016

Can you please show me how?

@ifesdjeen
Copy link
Member

Just call (.close channel) on the channel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants