mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 14:31:31 +01:00
Revert "await terminal creation for exthost"
This reverts commit febea8efd8.
This commit is contained in:
@@ -141,10 +141,10 @@ export class MainThreadTerminalService implements MainThreadTerminalServiceShape
|
||||
useShellEnvironment: launchConfig.useShellEnvironment,
|
||||
};
|
||||
this._extHostTerminals.set(extHostTerminalId, new Promise(async r => {
|
||||
const terminal = new Promise<ITerminalInstance>(async r => this._terminalService.createTerminal({
|
||||
const terminal = await this._terminalService.createTerminal({
|
||||
config: shellLaunchConfig,
|
||||
location: await this._deserializeParentTerminal(launchConfig.location)
|
||||
}));
|
||||
});
|
||||
r(terminal);
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user