Skip to content

Commit c7026e2

Browse files
committed
fix(api): add missing ngOnDestroy method back to IoService
1 parent 30d1455 commit c7026e2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

goldens/ng-dynamic-component/api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ export interface IoFactoryServiceOptions {
309309
// @public (undocumented)
310310
export class IoService implements OnDestroy {
311311
constructor(injector: Injector, differs: KeyValueDiffers, cfr: ComponentFactoryResolver, options: IoServiceOptions, compInjector: DynamicComponentInjector, eventArgument: string, cdr: ChangeDetectorRef, eventContextProvider: StaticProvider, componentIO: ComponentIO);
312-
// @internal (undocumented)
312+
// (undocumented)
313313
ngOnDestroy(): void;
314314
update(inputs?: InputsType | null, outputs?: OutputsType | null): void;
315315
// (undocumented)

projects/ng-dynamic-component/src/lib/io/io.service.ts

-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ export class IoService implements OnDestroy {
102102
}
103103
}
104104

105-
/** @internal */
106105
ngOnDestroy(): void {
107106
this.disconnectOutputs();
108107
}

0 commit comments

Comments
 (0)