diff options
author | Ruben Pollan <meskio@sindominio.net> | 2018-09-06 16:20:12 +0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2018-09-06 16:20:12 +0200 |
commit | 23fa9c5fd8c72c88979f450797d611ab16f1a30f (patch) | |
tree | 97a34591fab368f0657dc2a47c57357663cbfd4d /systray.go | |
parent | 9961cccc89c48f9ce653c75fabbfc829900b82fe (diff) |
[bug] on quit don't wait for notifications that might not come0.18.9
Diffstat (limited to 'systray.go')
-rw-r--r-- | systray.go | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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") } |