From 4e3205ff36e09eeeb0ef9968679e8f4b1d6f1ba7 Mon Sep 17 00:00:00 2001 From: Alex Dima Date: Tue, 19 Dec 2017 10:42:15 +0100 Subject: [PATCH] Revert "Delay the start-up of the shared process (saves ~40-90ms on startup)" This reverts commit b71255501de5b4c8a890abf7f6579ac1394c5d8e. --- src/vs/code/electron-main/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/code/electron-main/app.ts b/src/vs/code/electron-main/app.ts index 838871abff1..b72b6847723 100644 --- a/src/vs/code/electron-main/app.ts +++ b/src/vs/code/electron-main/app.ts @@ -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);