Re:Clojure core.async and Go: A Code Comparison
by kisielk on Thursday July 04, 2013 @04:37PM
(#5992334)
Once main exits the program does as well, so all other goroutines will be terminated.
[ Parent
| on HN ]
Re:Clojure core.async and Go: A Code Comparison
by simpleglider on Thursday July 04, 2013 @06:44PM
(#5992738)
True. Leaks don't matter for programs that exit immediately. I was pointing it out because it is often relevant when using the timeout pattern.