closing instead of signalling

This commit is contained in:
Juan Leni
2019-04-03 17:53:29 +02:00
parent 3f3dcf3701
commit 0dde303778
+1 -1
View File
@@ -74,7 +74,7 @@ func (sl *SignerListenerEndpoint) OnStop() {
}
// Stop service loop
sl.stopCh <- struct{}{}
close(sl.stopCh)
<-sl.stoppedCh
}