mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
feb86e3fde
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.