diff --git a/src/server/languageProvider.ts b/src/server/languageProvider.ts index 39b8780..37fe1a9 100644 --- a/src/server/languageProvider.ts +++ b/src/server/languageProvider.ts @@ -53,7 +53,7 @@ export default class LanguageProvider { initialized = true this.registerProviders(client, typingsStatus) } - }, null, this.disposables) + }) } private configurationChanged(): void { diff --git a/src/server/typescriptServiceClient.ts b/src/server/typescriptServiceClient.ts index 0b901bc..13c3714 100644 --- a/src/server/typescriptServiceClient.ts +++ b/src/server/typescriptServiceClient.ts @@ -33,7 +33,7 @@ interface ToCancelOnResourceChanged { } class ForkedTsServerProcess { - constructor(private childProcess: cp.ChildProcess) { } + constructor(private childProcess: cp.ChildProcess) {} public readonly toCancelOnResourceChange = new Set() @@ -172,7 +172,6 @@ export default class TypeScriptServiceClient implements ITypeScriptServiceClient .then(undefined, () => void 0) } this.bufferSyncSupport.dispose() - disposeAll(this.disposables) this.logger.dispose() this._onTsServerStarted.dispose() this._onResendModelsRequested.dispose()