plug goroutine leak in control

Fixes #2002.
This commit is contained in:
Matthias Radestock
2016-11-10 17:45:16 +00:00
parent ed26575d50
commit 0610936296
+1
View File
@@ -315,6 +315,7 @@ func (pw *probeWorker) stop() {
}
func (pw *probeWorker) loop() {
defer pw.done.Done()
for {
// have we been stopped?
select {