Skip to content
Snippets Groups Projects

[bug] wait until the systray is initalized to start the systray loop

Merged meskio requested to merge meskio/bitmask-vpn:bug/106_wait_init into master
2 files
+ 5
1
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 1
1
@@ -24,7 +24,7 @@ import (
@@ -24,7 +24,7 @@ import (
)
)
func Run(conf *Config) {
func Run(conf *Config) {
bt := bmTray{conf: conf}
bt := bmTray{conf: conf, waitCh: make(chan bool)}
go initialize(conf, &bt)
go initialize(conf, &bt)
bt.start()
bt.start()
}
}
Loading