by biot · 13y ago · 0 comments
Essentially, it gets garbage collected without you having to worry about it unless you're doing something fairly special.
Qoute: "Goroutines are not garbage-collected. They must return from the top-level function (or panic) to have all their resources recovered."