mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-16 04:06:12 +00:00
closing instead of signalling
This commit is contained in:
@@ -74,7 +74,7 @@ func (sl *SignerListenerEndpoint) OnStop() {
|
||||
}
|
||||
|
||||
// Stop service loop
|
||||
sl.stopCh <- struct{}{}
|
||||
close(sl.stopCh)
|
||||
<-sl.stoppedCh
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user