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

[bug] don't block the systray with the about notification

Let's send the notification to another goroutine.

- Resolves: #112
parent 8599eea4
No related branches found
No related tags found
No related merge requests found
......@@ -139,7 +139,7 @@ func (bt *bmTray) loop(bm bitmask.Bitmask, notify *notificator, as bitmask.Autos
} else if bitmaskVersion != "" {
versionStr = fmt.Sprintf("%s (bitmaskd %s)", bt.conf.Version, bitmaskVersion)
}
bt.notify.about(versionStr)
go bt.notify.about(versionStr)
case <-bt.mQuit.ClickedCh:
err := bt.autostart.Disable()
......
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