Closed mjgarton closed 8 years ago
Wait to ensure various goroutines are exiting before we consider ourselves stopped, so use a waitgroup for all running goroutines and Wait() for it in Stop()
Cool stuff. Thanks!
Wait to ensure various goroutines are exiting before we consider ourselves stopped, so use a waitgroup for all running goroutines and Wait() for it in Stop()