mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
37c05bd575
Since Renderer is shared across root and child views, we need to avoid `destroy` method invocation for child views and only invoke is for root view when needed. Prior to this change, the `destroy` function was called whenever child view was destroyed, thus causing errors at runtime. PR Close #27592