From 1b056409387c13dfebd34bbb6877e4751eaa9e77 Mon Sep 17 00:00:00 2001 From: Paul LeMarquand Date: Mon, 7 Apr 2025 09:30:00 -0400 Subject: [PATCH] Fix potential error when no toolchain found If there is no toolchain available we short circuit extension activation but still try and stop the workspace, which hasn't been created. --- src/extension.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/extension.ts b/src/extension.ts index 32b8930b4..4b3202c28 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -122,7 +122,6 @@ export async function activate(context: vscode.ExtensionContext): Promise { outputChannel, activate: () => activate(context), deactivate: async () => { - await workspaceContext.stop(); await deactivate(context); }, };