diff options
Diffstat (limited to 'systray.go')
-rw-r--r-- | systray.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -116,7 +116,10 @@ func (bt *bmTray) onReady() { case <-mQuit.ClickedCh: systray.Quit() + // XXX: this a hack as quit doesn't work + // this should be done by defer in the main function bt.bm.Close() + releasePID() log.Println("Quit now...") os.Exit(0) |