mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Similar to `DestroyRef`, this adds the `destroyed` property to `EnvironmentInjector`. It also has the ability to register callbacks with `onDestroy`, which throws if `destroyed` is already `true`. This also omits the bit about whether those callbacks have executed since I realized the property is set to `true` before executing the callbacks. PR Close #61951 |
||
|---|---|---|
| .. | ||
| compiler.ts | ||
| component_factory.ts | ||
| component_factory_resolver.ts | ||
| destroy_ref.ts | ||
| element_ref.ts | ||
| ng_module_factory.ts | ||
| ng_module_factory_loader.ts | ||
| ng_module_factory_loader_impl.ts | ||
| ng_module_registration.ts | ||
| query_list.ts | ||
| template_ref.ts | ||
| view_container_ref.ts | ||
| view_ref.ts | ||