Revert "Delay the start-up of the shared process (saves ~40-90ms on startup)"

This reverts commit b71255501d.
This commit is contained in:
Alex Dima
2017-12-19 10:42:15 +01:00
parent 29e83090b3
commit 4e3205ff36
+1 -1
View File
@@ -264,7 +264,7 @@ export class CodeApplication {
// Spawn shared process
this.sharedProcess = new SharedProcess(this.environmentService, machineId, this.userEnv);
this.toDispose.push(this.sharedProcess);
this.sharedProcessClient = TPromise.timeout(5000).then(() => this.sharedProcess.whenReady()).then(() => connect(this.environmentService.sharedIPCHandle, 'main'));
this.sharedProcessClient = this.sharedProcess.whenReady().then(() => connect(this.environmentService.sharedIPCHandle, 'main'));
// Services
const appInstantiationService = this.initServices(machineId);