From 016fdcfa99a38db490d1bac3f97ddd920af442af Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Fri, 24 Nov 2023 12:07:10 +0100 Subject: [PATCH] aux window - fix hygiene (#199016) --- src/vs/workbench/browser/part.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vs/workbench/browser/part.ts b/src/vs/workbench/browser/part.ts index 168076b9a6970..b9e07cb213a9c 100644 --- a/src/vs/workbench/browser/part.ts +++ b/src/vs/workbench/browser/part.ts @@ -192,9 +192,9 @@ export abstract class MultiWindowParts extends Dispo protected readonly _parts = new Set(); get parts() { return Array.from(this._parts); } - protected abstract mainPart: T; + abstract readonly mainPart: T; - protected registerPart(part: T): IDisposable { + registerPart(part: T): IDisposable { this._parts.add(part); return this._register(toDisposable(() => this.unregisterPart(part)));