clear highlight on client dispose

This commit is contained in:
Qiming Zhao 2022-02-18 21:37:00 +08:00
parent 4f480eda46
commit 7633da18eb
No known key found for this signature in database
GPG key ID: 9722CD0E8D4DCB8C

View file

@ -138,9 +138,14 @@ export default class TypeScriptServiceClient implements ITypeScriptServiceClient
public dispose(): void {
this.tsServerProcess.kill()
this.diagnosticsManager.dispose()
this.bufferSyncSupport.dispose()
this.logger.dispose()
this._onTsServerStarted.dispose()
this._onProjectLanguageServiceStateChanged.dispose()
this._onDidBeginInstallTypings.dispose()
this._onDidEndInstallTypings.dispose()
this._onTypesInstallerInitializationFailed.dispose()
this._onResendModelsRequested.dispose()
this.versionStatus.dispose()
}