fixed config reload race condition

This commit is contained in:
Eugene Pankov
2021-07-06 20:28:53 +02:00
parent 9f87886a9b
commit 6c7a8092a4

View File

@@ -240,8 +240,8 @@ export class ConfigService {
this.ready.next(true) this.ready.next(true)
this.ready.complete() this.ready.complete()
this.hostApp.configChangeBroadcast$.subscribe(() => { this.hostApp.configChangeBroadcast$.subscribe(async () => {
this.load() await this.load()
this.emitChange() this.emitChange()
}) })
} }