🐛 fix config loading
This commit is contained in:
parent
ba04ee4984
commit
78ec8ef561
2 changed files with 5 additions and 5 deletions
|
|
@ -43,10 +43,11 @@ export class ConfigHandler {
|
|||
reloadConfig() {
|
||||
this.savedConfig = undefined;
|
||||
this.savedBrowserConfig = undefined;
|
||||
this.loadConfig();
|
||||
for (const listener of this.updateListeners) {
|
||||
listener();
|
||||
}
|
||||
this.loadConfig().then(() => {
|
||||
for (const listener of this.updateListeners) {
|
||||
listener();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
async getSerializedConfig(): Promise<BrowserSerializedContinueConfig> {
|
||||
|
|
|
|||
|
|
@ -112,7 +112,6 @@ export class VsCodeExtension {
|
|||
setupRemoteConfigSync(
|
||||
this.configHandler.reloadConfig.bind(this.configHandler),
|
||||
);
|
||||
this.core = new Core(inProcessMessenger, this.ide);
|
||||
|
||||
// Indexing + pause token
|
||||
this.diffManager.webviewProtocol = this.webviewProtocol;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue