Investigate to make IConfigurationService sync if already blocking startup (fixes #4264)

This commit is contained in:
Benjamin Pasero
2016-04-01 11:41:04 +02:00
parent 5ce537091a
commit 31ce12f023
31 changed files with 458 additions and 498 deletions

View File

@@ -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 {