mirror of
https://github.com/Microsoft/vscode
synced 2024-09-18 01:58:27 +00:00
parent
8635a5effd
commit
529f7d30b7
|
@ -1383,12 +1383,14 @@ export class SplitView<TLayoutContext = undefined> extends Disposable {
|
|||
}
|
||||
|
||||
override dispose(): void {
|
||||
super.dispose();
|
||||
this.sashDragState?.disposable.dispose();
|
||||
|
||||
dispose(this.viewItems);
|
||||
this.viewItems = [];
|
||||
|
||||
this.sashItems.forEach(i => i.disposable.dispose());
|
||||
this.sashItems = [];
|
||||
|
||||
super.dispose();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue