Skip to content

Commit b78b7c9

Browse files
authored
Merge pull request #4644 from jlipka/fix/form-control-container-unsubscribe
fix: call parent ngOnDestroy in dynamic form control container
2 parents 9eadcea + 4d803a5 commit b78b7c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)