fix error on dispose
This commit is contained in:
parent
bac3ec6149
commit
7f0b662778
2 changed files with 2 additions and 3 deletions
|
@ -53,7 +53,7 @@ export default class LanguageProvider {
|
|||
initialized = true
|
||||
this.registerProviders(client, typingsStatus)
|
||||
}
|
||||
}, null, this.disposables)
|
||||
})
|
||||
}
|
||||
|
||||
private configurationChanged(): void {
|
||||
|
|
|
@ -33,7 +33,7 @@ interface ToCancelOnResourceChanged {
|
|||
}
|
||||
|
||||
class ForkedTsServerProcess {
|
||||
constructor(private childProcess: cp.ChildProcess) { }
|
||||
constructor(private childProcess: cp.ChildProcess) {}
|
||||
|
||||
public readonly toCancelOnResourceChange = new Set<ToCancelOnResourceChanged>()
|
||||
|
||||
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue