mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
shared process - spawn it when first connection kicks in (#117422)
This commit is contained in:
@@ -495,7 +495,7 @@ export class CodeApplication extends Disposable {
|
||||
}
|
||||
|
||||
private setupSharedProcess(machineId: string): { sharedProcess: SharedProcess, sharedProcessReady: Promise<MessagePortClient>, sharedProcessClient: Promise<MessagePortClient> } {
|
||||
const sharedProcess = this.mainInstantiationService.createInstance(SharedProcess, machineId, this.userEnv);
|
||||
const sharedProcess = this._register(this.mainInstantiationService.createInstance(SharedProcess, machineId, this.userEnv));
|
||||
|
||||
const sharedProcessClient = (async () => {
|
||||
this.logService.trace('Main->SharedProcess#connect');
|
||||
|
||||
Reference in New Issue
Block a user