Which strategy prevents goroutine leaks when using select with buffered channels?
In Go, the select statement is frequently used to handle asynchronous communication across multiple channels. When implementing a pattern where a producer sends data to a buffered channel, there is a risk of goroutine leakage if the consumer stops listening before the producer finishes. If a producer uses a select block with a default case to avoid blocking,