mirror of
https://github.com/mathuo/dockview
synced 2025-01-22 09:25:57 +00:00
chore: adjust dockview disposable
This commit is contained in:
parent
8650de90aa
commit
4d01d4e0af
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user