From d43d978b6334294b3ab893d5b1a0c7cea0036cb2 Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Wed, 24 Jan 2018 09:53:24 +0100 Subject: [PATCH] :lipstick: --- src/vs/platform/log/common/log.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/vs/platform/log/common/log.ts b/src/vs/platform/log/common/log.ts index 09d85742184..97418ed6f9a 100644 --- a/src/vs/platform/log/common/log.ts +++ b/src/vs/platform/log/common/log.ts @@ -244,6 +244,7 @@ export class DelegatedLogService extends Disposable implements ILogService { constructor(private logService: ILogService) { super(); + this._register(logService); } get onDidChangeLogLevel(): Event { @@ -281,10 +282,6 @@ export class DelegatedLogService extends Disposable implements ILogService { critical(message: string | Error, ...args: any[]): void { this.logService.critical(message, ...args); } - - dispose(): void { - this.logService.dispose(); - } } export class NullLogService implements ILogService { -- GitLab