mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +00:00
119176: clear viewContainerRef on destroy
This commit is contained in:
@@ -174,6 +174,7 @@ export class ItemEditBitstreamBundleComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
ngOnDestroy() {
|
||||
this.viewContainerRef.clear();
|
||||
this.subscriptions.forEach(sub => sub?.unsubscribe());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user