Hacker News new | ask | show | jobs
by dpatterbee 1935 days ago
Only close channels when trying to tell the receiver that you're not sending more data. Otherwise let the garbage collector deal with it. Channels seem easy until they don't until they do again in my experience.

Don't understand your second point.