chore: adjust dockview disposable

This commit is contained in:
mathuo 2024-12-22 18:47:09 +00:00
parent 8650de90aa
commit 4d01d4e0af
No known key found for this signature in database
GPG Key ID: C6EEDEFD6CA07281

View File

@ -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':