Skip to content

Commit 6644714

Browse files
committed
119176: clear viewContainerRef on destroy
1 parent 93f9341 commit 6644714

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/app/item-page/edit-item-page/item-bitstreams/item-edit-bitstream-bundle/item-edit-bitstream-bundle.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ export class ItemEditBitstreamBundleComponent implements OnInit, OnDestroy {
174174
}
175175

176176
ngOnDestroy() {
177+
this.viewContainerRef.clear();
177178
this.subscriptions.forEach(sub => sub?.unsubscribe());
178179
}
179180

0 commit comments

Comments
 (0)