mirror of
https://github.com/mathuo/dockview
synced 2025-08-03 15:56:01 +00:00
Merge pull request #802 from mathuo/801-disposable-fix
chore: adjust dockview disposable
This commit is contained in:
commit
487d02bd90
@ -577,11 +577,6 @@ export class DockviewComponent
|
|||||||
this.updateWatermark();
|
this.updateWatermark();
|
||||||
}
|
}
|
||||||
|
|
||||||
override dispose(): void {
|
|
||||||
this.clear(); // explicitly clear the layout before cleaning up
|
|
||||||
super.dispose();
|
|
||||||
}
|
|
||||||
|
|
||||||
override setVisible(panel: DockviewGroupPanel, visible: boolean): void {
|
override setVisible(panel: DockviewGroupPanel, visible: boolean): void {
|
||||||
switch (panel.api.location.type) {
|
switch (panel.api.location.type) {
|
||||||
case 'grid':
|
case 'grid':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user