I've recently run 
across  
https://stackoverflow.com/questions/36417199/how-to-broadcast-message-using-channel
 
by icza and tried to use the simple broker in my project.

Unfortunately, it panics with send on closed channel. I couldn't figure out 
why or where and created a reproducer: https://play.golang.com/p/8hrHf4-nGY2

Can someone spot why this would panic (except for the obvious reason) and 
how to fix it?

Cheers,
Andi

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/golang-nuts/31195186-a8dd-4b0f-8aab-ae358bd197f1n%40googlegroups.com.

Reply via email to