mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
ab98e71c41
Prior to this commit, attempting to resolve a `ChangeDetectorRef` after views or app have been destroyed would result in an error. In this commit, we clean up listeners once the view is destroyed, before the placeholder loads or fails to load.
(cherry picked from commit feb86e3fde)