Chris's Wiki :: blog/programming/GoAlwaysDrainGoroutines Commentshttps://utcc.utoronto.ca/~cks/space/blog/programming/GoAlwaysDrainGoroutines?atomcommentsDWiki2015-06-01T04:39:05ZRecent comments in Chris's Wiki :: blog/programming/GoAlwaysDrainGoroutines.By Chris Siebenmann on /blog/programming/GoAlwaysDrainGoroutinestag:CSpace:blog/programming/GoAlwaysDrainGoroutines:8c55e2af7c2eabc1f972708dcba5dbaf64bb9b53Chris Siebenmann<div class="wikitext"><p>There is no way for a channel writer to check for an already closed
channel. This is especially the case if it is already sitting in a
channel send, waiting for the parser to pick up the next token.</p>
</div>2015-06-01T04:39:05ZBy GlacJAY on /blog/programming/GoAlwaysDrainGoroutinestag:CSpace:blog/programming/GoAlwaysDrainGoroutines:9d3ae0cfa0247a040f1c54ffa1cbe00d997a1a37GlacJAYhttp://glacjay.info<div class="wikitext"><p>Just close the channel before parser exists, and check this error in lexer, and you're done.</p>
</div>2015-06-01T04:19:40Z