119176: clear viewContainerRef on destroy

This commit is contained in:
Andreas Awouters
2024-10-16 15:56:35 +02:00
parent 93f9341387
commit 6644714bb7

View File

@@ -174,6 +174,7 @@ export class ItemEditBitstreamBundleComponent implements OnInit, OnDestroy {
}
ngOnDestroy() {
this.viewContainerRef.clear();
this.subscriptions.forEach(sub => sub?.unsubscribe());
}