summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2019-02-01 00:25:41 +0100
committerRuben Pollan <meskio@sindominio.net>2019-02-01 00:25:41 +0100
commit76f3e895ad270004e2320192d3660b7f36ddb80b (patch)
treeeb011238f701dd30c0ad9b7e69b6c94907292ac0 /pkg
parent8599eea4dc4c249adeb43858e8df0ee82304a0c0 (diff)
[bug] don't block the systray with the about notification
Let's send the notification to another goroutine. - Resolves: #112
Diffstat (limited to 'pkg')
-rw-r--r--pkg/systray/systray.go2
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()