Skip to content
Snippets Groups Projects
Unverified Commit 23fa9c5f authored by meskio's avatar meskio :tent:
Browse files

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

parent 9961cccc
No related branches found
Tags 0.18.9
No related merge requests found
Pipeline #18805 passed
......@@ -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")
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment