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

有关优雅关闭channel的问题 #59

Closed
zhaohaihang opened this issue Dec 16, 2022 · 0 comments
Closed

有关优雅关闭channel的问题 #59

zhaohaihang opened this issue Dec 16, 2022 · 0 comments

Comments

@zhaohaihang
Copy link

问题描述

尊敬的作者您好, 请问在书中78页提供的“有关优雅关闭channel的样例代码“中,假如sender向中间人(toStop)发起关闭的dataCh的信号时,不会出现dataCh无法被完全消费,从而导致内存泄漏的风险吗?

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

No branches or pull requests

1 participant