mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
f1b629961f
Removing the renderer from cache is not needed when `REMOVE_STYLES_ON_COMPONENT_DESTROY` is enabled. This change retains the behaviour of keeping the renderer cached for the entire lifecycle of the application the same way it is done when `REMOVE_STYLES_ON_COMPONENT_DESTROY` is disabled. This seems to have be causing an increase in scripting. See: http://b/290666638 PR Close #51005