diff options
author | Ruben Pollan <meskio@sindominio.net> | 2019-02-01 00:25:41 +0100 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2019-02-01 00:25:41 +0100 |
commit | 76f3e895ad270004e2320192d3660b7f36ddb80b (patch) | |
tree | eb011238f701dd30c0ad9b7e69b6c94907292ac0 | |
parent | 8599eea4dc4c249adeb43858e8df0ee82304a0c0 (diff) |
[bug] don't block the systray with the about notification
Let's send the notification to another goroutine.
- Resolves: #112
-rw-r--r-- | pkg/systray/systray.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/systray/systray.go b/pkg/systray/systray.go index a575568..c99555c 100644 --- a/pkg/systray/systray.go +++ b/pkg/systray/systray.go @@ -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() |