diff options
author | Ruben Pollan <meskio@sindominio.net> | 2019-01-24 19:37:46 +0100 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2019-01-24 19:37:46 +0100 |
commit | 2445ac94205c93187f4f8d1c3901d7f84e212dfb (patch) | |
tree | 6d31ee0d5c70ccb203f69339ceda953301e21aa2 /pkg/systray/run.go | |
parent | 00abe09552c9c980d22ca1ee1a0511c9c8aa76e1 (diff) |
[bug] wait until the systray is initalized to start the systray loop
- Resolves: #106
Diffstat (limited to 'pkg/systray/run.go')
-rw-r--r-- | pkg/systray/run.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/systray/run.go b/pkg/systray/run.go index 8877d64..2a513d8 100644 --- a/pkg/systray/run.go +++ b/pkg/systray/run.go @@ -24,7 +24,7 @@ import ( ) func Run(conf *Config) { - bt := bmTray{conf: conf} + bt := bmTray{conf: conf, waitCh: make(chan bool)} go initialize(conf, &bt) bt.start() } |