mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
ipc: send client ids when connecting
This commit is contained in:
@@ -104,7 +104,7 @@ function connectToRenderer(): TPromise<IRendererConnection> {
|
||||
}
|
||||
|
||||
function connectToSharedProcess(): TPromise<Client> {
|
||||
return connect(process.env['VSCODE_SHARED_IPC_HOOK']);
|
||||
return connect(process.env['VSCODE_SHARED_IPC_HOOK'], `extensionHost:${ process.env['VSCODE_WINDOW_ID'] }`);
|
||||
}
|
||||
|
||||
TPromise.join<any>([connectToRenderer(), connectToSharedProcess()])
|
||||
|
||||
Reference in New Issue
Block a user