From c7eefb28cbc42c70918ebc0f5abc7acdb1f127cb Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Fri, 23 Sep 2022 12:22:13 -0700 Subject: [PATCH] Fix null ref error in terminal service (#20656) --- src/vs/workbench/api/common/extHostTerminalService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/api/common/extHostTerminalService.ts b/src/vs/workbench/api/common/extHostTerminalService.ts index 419da45b22..65ba552002 100644 --- a/src/vs/workbench/api/common/extHostTerminalService.ts +++ b/src/vs/workbench/api/common/extHostTerminalService.ts @@ -464,7 +464,7 @@ export abstract class BaseExtHostTerminalService extends Disposable implements I if (id === null) { this._activeTerminal = undefined; if (original !== this._activeTerminal) { - this._onDidChangeActiveTerminal.fire(this._activeTerminal.value); + this._onDidChangeActiveTerminal.fire(undefined); // {{SQL CARBON EDIT}} This was set to undefined above so send that - this will be replaced with later refactorings that VS Code did } return; }