Comment on Clojure core.async and Go: A Code ComparisonparentComments−kisielk13yOnce main exits the program does as well, so all other goroutines will be terminated.−simpleglider13yTrue. Leaks don't matter for programs that exit immediately. I was pointing it out because it is often relevant when using the timeout pattern.
Comments
Once main exits the program does as well, so all other goroutines will be terminated.
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.