mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-12 19:34:34 +00:00
fixed config reload race condition
This commit is contained in:
@@ -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()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user