>> defer goroutineRunning.Done()

This doesn't work. Each invocation of subscribe() has it's own 
sync.WaitGroup. It's just used it appears to ensure that the enclosed 
goroutine is running before subscribe() returns 


-- 
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 on the web visit 
https://groups.google.com/d/msgid/golang-nuts/45f26b0d-e00d-47e6-aede-ee9a70bb7d5dn%40googlegroups.com.

Reply via email to