diff --git a/packages/salesforcedx-vscode-apex/src/index.ts b/packages/salesforcedx-vscode-apex/src/index.ts index 99a908f66a..ea4e17c4c6 100644 --- a/packages/salesforcedx-vscode-apex/src/index.ts +++ b/packages/salesforcedx-vscode-apex/src/index.ts @@ -284,6 +284,7 @@ async function registerTestView(): Promise { } export async function deactivate() { + await languageClient?.stop(); telemetryService.sendExtensionDeactivationEvent(); }