diff --git a/src/main/ts/extension.ts b/src/main/ts/extension.ts index c781ac4..e850675 100644 --- a/src/main/ts/extension.ts +++ b/src/main/ts/extension.ts @@ -149,7 +149,7 @@ function stopLanguageServer() { if (!languageClient) { return; } - languageClient.stop() + languageClient.stop(); } function onDidChangeConfiguration(event: vscode.ConfigurationChangeEvent) { @@ -178,5 +178,6 @@ export function activate(context: vscode.ExtensionContext) { } export function deactivate() { + stopLanguageServer(); extensionContext = null; }