This commit is contained in:
João Moreno 2023-02-24 17:33:36 +01:00 committed by GitHub
parent 8635a5effd
commit 529f7d30b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();
}
}