angular/packages/core
Matt Lewis ca3fd7847f fix(core): Clear lView from IcuIteratorState when stack is empty to prevent memory leak
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.

(cherry picked from commit 59e648913c)
2025-10-27 19:42:21 +01:00
..
global build: rename defaults2.bzl to defaults.bzl (#63384) 2025-08-25 15:45:46 -07:00
primitives refactor(core): Add custom formatters for Signals (#64000) 2025-09-30 13:49:27 -04:00
rxjs-interop docs: update doc to clear up difference between toObservable/ outputToObservable (#63836) 2025-09-16 15:00:54 +00:00
schematics refactor(migrations): unit test signal migration adjustment (#64393) 2025-10-15 10:38:58 -07:00
src fix(core): Clear lView from IcuIteratorState when stack is empty to prevent memory leak 2025-10-27 19:42:21 +01:00
test fix(core): Clear lView from IcuIteratorState when stack is empty to prevent memory leak 2025-10-27 19:42:21 +01:00
testing refactor(bazel): reduce build deps (#63348) 2025-08-28 09:16:10 -07:00
BUILD.bazel Revert "build: refactor location of best-practices.md" 2025-10-24 19:02:41 +02:00
index.ts refactor: update packages/core:{core,src} to ts_project (#61275) 2025-05-14 12:01:51 +00:00
package.json Revert "build: refactor location of best-practices.md" 2025-10-24 19:02:41 +02:00
PACKAGE.md
public_api.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
tsconfig-build.json build: migrate more targets of @angular/core to ts_project (#61370) 2025-05-16 11:02:07 +00:00
tsconfig-test.json build: migrate more targets of @angular/core to ts_project (#61370) 2025-05-16 11:02:07 +00:00