From 74bb59b24e7be6d9a724515586ecb6fa66dfa0f7 Mon Sep 17 00:00:00 2001 From: Morgan McCauley Date: Mon, 9 Sep 2019 16:01:38 +1200 Subject: [PATCH] Dispose of status bar item when disabling tsserver (#66) --- src/server/typescriptServiceClient.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/typescriptServiceClient.ts b/src/server/typescriptServiceClient.ts index b7746fc..1729c6b 100644 --- a/src/server/typescriptServiceClient.ts +++ b/src/server/typescriptServiceClient.ts @@ -161,6 +161,7 @@ export default class TypeScriptServiceClient implements ITypeScriptServiceClient this.logger.dispose() this._onTsServerStarted.dispose() this._onResendModelsRequested.dispose() + this.versionStatus.dispose() } private info(message: string, data?: any): void {