mirror of
https://github.com/safing/portmaster
synced 2025-04-25 13:29:10 +00:00
Fix bug that shouldn't exist
This commit is contained in:
parent
2caa04e5e7
commit
af7e872395
1 changed files with 6 additions and 1 deletions
|
@ -57,6 +57,11 @@ func start() error {
|
|||
}
|
||||
|
||||
func stop() error {
|
||||
close(shutdownSignal)
|
||||
select {
|
||||
case <-shutdownSignal:
|
||||
// already closed
|
||||
default:
|
||||
close(shutdownSignal)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue