Unverified Commit 23fa9c5f authored by meskio's avatar meskio
Browse files

[bug] on quit don't wait for notifications that might not come

parent 9961cccc
Pipeline #18805 passed with stage
in 5 minutes and 7 seconds
......@@ -55,9 +55,7 @@ func run(bm bitmask.Bitmask, conf *systrayConfig, notify *notificator, as autost
func (bt bmTray) onExit() {
status, _ := bt.bm.GetStatus()
if status != "off" {
ch := bt.bm.GetStatusCh()
bt.bm.StopVPN()
status = <-ch
}
log.Println("Closing systray")
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment