mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
Investigate to make IConfigurationService sync if already blocking startup (fixes #4264)
This commit is contained in:
@@ -88,9 +88,7 @@ export class MainThreadConfiguration {
|
||||
this._toDispose.push(this._configurationService.addListener2(ConfigurationServiceEventTypes.UPDATED, (e:IConfigurationServiceEvent) => {
|
||||
this._proxy._acceptConfigurationChanged(e.config);
|
||||
}));
|
||||
this._configurationService.loadConfiguration().then((config) => {
|
||||
this._proxy._acceptConfigurationChanged(config);
|
||||
});
|
||||
this._proxy._acceptConfigurationChanged(this._configurationService.getConfiguration());
|
||||
}
|
||||
|
||||
public dispose(): void {
|
||||
|
||||
Reference in New Issue
Block a user