From 4d01d4e0afa99ed2cc6772d5b85b2c952421635a Mon Sep 17 00:00:00 2001 From: mathuo <6710312+mathuo@users.noreply.github.com> Date: Sun, 22 Dec 2024 18:47:09 +0000 Subject: [PATCH] chore: adjust dockview disposable --- packages/dockview-core/src/dockview/dockviewComponent.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/dockview-core/src/dockview/dockviewComponent.ts b/packages/dockview-core/src/dockview/dockviewComponent.ts index 17e3e4f9f..c032abc6e 100644 --- a/packages/dockview-core/src/dockview/dockviewComponent.ts +++ b/packages/dockview-core/src/dockview/dockviewComponent.ts @@ -577,11 +577,6 @@ export class DockviewComponent this.updateWatermark(); } - override dispose(): void { - this.clear(); // explicitly clear the layout before cleaning up - super.dispose(); - } - override setVisible(panel: DockviewGroupPanel, visible: boolean): void { switch (panel.api.location.type) { case 'grid':