()
| 764 | * @publicApi 22.2 |
| 765 | */ |
| 766 | export function withAutoCleanupInjectors(): AutoCleanupInjectorsFeature { |
| 767 | return routerFeature(RouterFeatureKind.AutoCleanupInjectorsFeature, [ |
| 768 | {provide: ROUTE_INJECTOR_CLEANUP, useValue: routeInjectorCleanup}, |
| 769 | ]); |
| 770 | } |
| 771 | |
| 772 | /** |
| 773 | * Enables automatic destruction of unused route injectors. |
no test coverage detected