mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
0f5c8003cc
DestroyRef represents a concept of lifecycle scope where destroy callbacks can be registered. Such callbacks are automatically executed when a given scope ends it lifecycle. In practice the most common lifecycle scopes would be represented by: - a component or en embedded view; - instance of `EnvironnementInjector`. PR Close #49158