Channel iteration and goroutine leak
Redowan's Reflections [Unofficial]
June 21, 2026
A for-range over a channel that's never closed leaks the receiver. Why a fixed number of receives is safe, why a range isn't, and how to catch it with Go 1.27's leak profile.
Discussion in the ATmosphere