My Channel Select Bug

1 · · Oct. 17, 2013, midnight
I was testing new functionality on a program that is already running in production when suddenly the code behaved very badly. What I saw shocked me and then it became obvious why it happened. I also have a race condition just waiting to be a problem. I have tried to provide a simplified version of the code and the two bugs. package main import (     "fmt"     "os"...