Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
kisielk
· 13y ago · 0 comments
Once main exits the program does as well, so all other goroutines will be terminated.
Comments
[–]
simpleglider
13y ago
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.