mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
If a component template contains an icu expression it is being retained until the next change detection cycle for that template. This results in a net retention of only ever a single copy of the given lView but that creates an opportunity for compounding leaks. Change the icu i18n_icu_container_visitor to free the IcuIteratorState retained lView when the stack is empty so that garbage collection can occur when the view is discarded. |
||
|---|---|---|
| .. | ||
| i18n_insert_before_index_spec.ts | ||
| i18n_parse_spec.ts | ||
| i18n_spec.ts | ||