diff --git a/src/features/DebugSession.ts b/src/features/DebugSession.ts index a401b6bbf1..bd5bf7d77d 100644 --- a/src/features/DebugSession.ts +++ b/src/features/DebugSession.ts @@ -25,7 +25,6 @@ export class DebugSessionFeature extends LanguageClientConsumer implements DebugConfigurationProvider, vscode.DebugAdapterDescriptorFactory { private sessionCount: number = 1; - private command: vscode.Disposable; private tempDebugProcess: PowerShellProcess; private tempSessionDetails: utils.IEditorServicesSessionDetails; @@ -51,8 +50,8 @@ export class DebugSessionFeature extends LanguageClientConsumer return new vscode.DebugAdapterInlineImplementation(debugAdapter); } + // tslint:disable-next-line:no-empty public dispose() { - this.command.dispose(); } public setLanguageClient(languageClient: LanguageClient) { diff --git a/src/features/ShowHelp.ts b/src/features/ShowHelp.ts index ef688ec0c9..ebb6662732 100644 --- a/src/features/ShowHelp.ts +++ b/src/features/ShowHelp.ts @@ -11,7 +11,6 @@ export const ShowHelpNotificationType = export class ShowHelpFeature extends LanguageClientConsumer { private command: vscode.Disposable; - private deprecatedCommand: vscode.Disposable; constructor(private log: Logger) { super(); @@ -34,7 +33,6 @@ export class ShowHelpFeature extends LanguageClientConsumer { public dispose() { this.command.dispose(); - this.deprecatedCommand.dispose(); } }