Skip to content

Commit 43e391a

Browse files
authored
Fix potential error when no toolchain found (#1485)
If there is no toolchain available we short circuit extension activation but still try and stop the workspace, which hasn't been created.
1 parent 962681f commit 43e391a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/extension.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ export async function activate(context: vscode.ExtensionContext): Promise<Api> {
122122
outputChannel,
123123
activate: () => activate(context),
124124
deactivate: async () => {
125-
await workspaceContext.stop();
126125
await deactivate(context);
127126
},
128127
};

0 commit comments

Comments
 (0)