Merge pull request #802 from mathuo/801-disposable-fix

chore: adjust dockview disposable
This commit is contained in:
mathuo 2024-12-22 18:54:07 +00:00 committed by GitHub
commit 487d02bd90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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