Load extension host after workbench is running phase (fixes #38323)

This commit is contained in:
Benjamin Pasero
2017-11-21 15:31:38 +01:00
parent 2fd817b557
commit c8b4dfddd6
@@ -104,9 +104,9 @@ export class ExtensionService implements IExtensionService {
this._extensionHostProcessCustomers = [];
this._extensionHostProcessProxy = null;
lifecycleService.when(LifecyclePhase.Restoring).then(() => {
lifecycleService.when(LifecyclePhase.Running).then(() => {
// delay extension host creation and extension scanning
// until after the editors/panels are restored
// until after workbench is running
this._startExtensionHostProcess([]);
this._scanAndHandleExtensions();
});