We discuss why
goroutine "leak" in Go: blocking
send/receive on channels, an endless
for
range without
close, timeouts without stopping workers, and
select with
default that turns code into a busy-loop. We formulate the "termination rule": every goroutine must have a guaranteed exit — through channel closure, a
ctx.Done() signal, or a protocol that rules out eternal blocking.