mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
@@ -244,7 +244,13 @@ export class MainThreadTerminalService implements MainThreadTerminalServiceShape
|
||||
return;
|
||||
}
|
||||
|
||||
this._terminalProcessesReady[request.proxy.terminalId](request.proxy);
|
||||
const ready = this._terminalProcessesReady[request.proxy.terminalId];
|
||||
if (ready) {
|
||||
ready(request.proxy);
|
||||
delete this._terminalProcessesReady[request.proxy.terminalId];
|
||||
} else {
|
||||
this._terminalProcesses[request.proxy.terminalId] = Promise.resolve(request.proxy);
|
||||
}
|
||||
const shellLaunchConfigDto: ShellLaunchConfigDto = {
|
||||
name: request.shellLaunchConfig.name,
|
||||
executable: request.shellLaunchConfig.executable,
|
||||
|
||||
Reference in New Issue
Block a user