mirror of
https://github.com/Eugeny/tabby.git
synced 2025-02-05 14:29:47 +08:00
fixed config reload race condition
This commit is contained in:
parent
9f87886a9b
commit
6c7a8092a4
@ -240,8 +240,8 @@ export class ConfigService {
|
||||
this.ready.next(true)
|
||||
this.ready.complete()
|
||||
|
||||
this.hostApp.configChangeBroadcast$.subscribe(() => {
|
||||
this.load()
|
||||
this.hostApp.configChangeBroadcast$.subscribe(async () => {
|
||||
await this.load()
|
||||
this.emitChange()
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user