Unverified Commit 76f3e895 authored by meskio's avatar meskio
Browse files

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

Let's send the notification to another goroutine.

- Resolves: #112
parent 8599eea4
......@@ -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()
......
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