News for hackers. Stuff that matters.
Re:Java 26 is here, and with it a solid foundation for the f... by Ternari on Tuesday March 17, 2026 @11:17PM (#47421244)
>you need to watch over and destruct goroutines manually to prevent memory leaks

No, you don’t. Any stack-allocated resources are freed when the function returns. WaitGroup is just there for synchronization.

There are no comments on this comment yet.