Skip to content

Commit

Permalink
119176: clear viewContainerRef on destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
AAwouters committed Oct 16, 2024
1 parent 0d3498a commit 87a7f8b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ export class ItemEditBitstreamBundleComponent implements OnInit, OnDestroy {
}

ngOnDestroy() {
this.viewContainerRef.clear();
this.subscriptions.forEach(sub => sub?.unsubscribe());
}

Expand Down

0 comments on commit 87a7f8b

Please sign in to comment.