The absolute worst choice for behavior here is to deadlock. Sending to a nil channel should be a panic if anything does.

There's no recovery here, you just lose that thread forever.

#golang #broken

@alatiera bug. Especially since you have no thread handles to ever shut it down.

Super memory leak too all the references remain valid.

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!