Fix bug that shouldn't exist

This commit is contained in:
Daniel 2019-03-08 23:13:41 +01:00
parent 2caa04e5e7
commit af7e872395

View file

@ -57,6 +57,11 @@ func start() error {
}
func stop() error {
close(shutdownSignal)
select {
case <-shutdownSignal:
// already closed
default:
close(shutdownSignal)
}
return nil
}