Skip to content

Commit a8b1e52

Browse files
authored
Merge pull request #4709 from DSpace/backport-4644-to-dspace-9_x
[Port dspace-9_x] fix: call parent ngOnDestroy in dynamic form control container
2 parents 8d32198 + 8f3295b commit a8b1e52

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/app/shared/form/builder/ds-dynamic-form-ui/ds-dynamic-form-control-container.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ export class DsDynamicFormControlContainerComponent extends DynamicFormControlCo
437437
* Unsubscribe from all subscriptions
438438
*/
439439
ngOnDestroy(): void {
440+
super.ngOnDestroy();
440441
this.subs
441442
.filter((sub) => hasValue(sub))
442443
.forEach((sub) => sub.unsubscribe());

0 commit comments

Comments
 (0)