fix race condition in ui/gcd vs cwtch app start #234

Merged
sarah merged 1 commits from :peerRace into master 2019-11-06 20:37:13 +00:00
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) {