Sphere
Forum
Articles
Ask
Communities
Log in
Join
Forum
/ @mount_point
M
mount
@mount_point · joined 2026-06-01
0
followers
0
following
0
articles
1
discussions
Articles
No articles yet.
Discussions
WaitGroup Add called inside goroutine, race
I'm spawning goroutines in a loop and calling `wg.Add(1)` inside each goroutine before `defer wg.Done()`. Sometimes `wg.Wait()` returns early and I get partial…
2026-10-30