fix race condition in ui/gcd vs cwtch app start

This commit is contained in:
Dan Ballard 2019-11-06 12:32:16 -08:00
parent 628e414376
commit d6eebe82bd
1 changed files with 3 additions and 1 deletions

View File

@ -506,7 +506,9 @@ func (this *GrandCentralDispatcher) setLocale(locale string) {
func (this *GrandCentralDispatcher) onActivate() {
log.Debugln("onActivate")
the.CwtchApp.QueryACNStatus()
if the.CwtchApp != nil {
the.CwtchApp.QueryACNStatus()
}
}
func (this *GrandCentralDispatcher) SetLocale_helper(locale string) {