Skip to content

Commit

Permalink
fix(api): add missing ngOnDestroy method back to IoService
Browse files Browse the repository at this point in the history
  • Loading branch information
gund committed Jan 9, 2025
1 parent 30d1455 commit c7026e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion goldens/ng-dynamic-component/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ export interface IoFactoryServiceOptions {
// @public (undocumented)
export class IoService implements OnDestroy {
constructor(injector: Injector, differs: KeyValueDiffers, cfr: ComponentFactoryResolver, options: IoServiceOptions, compInjector: DynamicComponentInjector, eventArgument: string, cdr: ChangeDetectorRef, eventContextProvider: StaticProvider, componentIO: ComponentIO);
// @internal (undocumented)
// (undocumented)
ngOnDestroy(): void;
update(inputs?: InputsType | null, outputs?: OutputsType | null): void;
// (undocumented)
Expand Down
1 change: 0 additions & 1 deletion projects/ng-dynamic-component/src/lib/io/io.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ export class IoService implements OnDestroy {
}
}

/** @internal */
ngOnDestroy(): void {
this.disconnectOutputs();
}
Expand Down

0 comments on commit c7026e2

Please sign in to comment.