mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-19 22:59:48 +01:00
check if localPtyService is defined to avoid throwing in web playground (#120144)
* fix #118819
This commit is contained in:
@@ -428,7 +428,7 @@ export class TerminalService implements ITerminalService {
|
||||
// windows
|
||||
this.terminalInstances.forEach(instance => instance.dispose(!isWindows));
|
||||
|
||||
this._localTerminalService!.setTerminalLayoutInfo(undefined);
|
||||
this._localTerminalService?.setTerminalLayoutInfo(undefined);
|
||||
}
|
||||
|
||||
public getTabLabels(): string[] {
|
||||
|
||||
Reference in New Issue
Block a user