angular/packages/core/src/render3
Matt Lewis 54ad2304e3 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:22 +01:00
..
after_render docs(core): mark after{Next,Every}Render overloads as stable (#62153) 2025-06-25 17:00:19 +00:00
debug refactor(devtools): Create a separate type of signals for after effect phases. (#64315) 2025-10-16 18:47:13 +00:00
deps_tracker refactor(core): remove USE_RUNTIME_DEPS_TRACKER_FOR_JIT flag. (#61265) 2025-05-13 15:22:18 -07:00
features refactor(core): move interfaces around (#64535) 2025-10-20 17:49:39 +00:00
i18n fix(core): Clear lView from IcuIteratorState when stack is empty to prevent memory leak 2025-10-27 19:42:22 +01:00
instructions fix(core): ensure @for iteration over field is reactive (#64113) 2025-10-24 09:29:29 +02:00
interfaces fix(forms): only propagate schema defined properties from field to control (#64446) 2025-10-21 17:38:34 +00:00
jit refactor(core): add framework support for binding form controls (#63773) 2025-10-04 13:21:55 -07:00
queries refactor(core): convert scripts within packages/core/src to relative imports (#60227) 2025-03-25 10:58:00 -07:00
reactivity refactor(devtools): Create a separate type of signals for after effect phases. (#64315) 2025-10-16 18:47:13 +00:00
styling docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
util refactor(core): narrow down ReactiveNode.kind type (#64127) 2025-10-20 20:15:46 +00:00
view refactor(core): move interfaces around (#64535) 2025-10-20 17:49:39 +00:00
apply_value_input_field.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
assert.ts refactor(core): consolidate TNode creation checks (#61563) 2025-05-21 13:49:32 +00:00
bindings.ts refactor(core): handle NO_CHANGE in bindingUpdated (#61557) 2025-05-21 15:13:47 +00:00
chained_injector.ts feat(core): remove InjectFlags from public API (#60318) 2025-03-11 11:33:09 -07:00
CODE_GEN_API.md
collect_native_nodes.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
component.ts docs: fix typo in component bindings jsdoc (#63969) 2025-09-22 14:33:06 +00:00
component_ref.ts refactor(core): fix MockRenderer in unit tests. (#63936) 2025-09-19 14:50:07 +00:00
context_discovery.ts refactor(core): prevent duplicating componentOffset checks (#59611) 2025-01-23 14:23:29 -08:00
def_getters.ts refactor(core): tree-shake getDirectiveDef error (#61075) 2025-05-01 08:43:43 -07:00
definition.ts perf(core): avoid intermediate arrays in definition (#61445) 2025-05-19 09:20:07 +00:00
definition_factory.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
di.ts refactor(core): include DI path into cyclic dependency error message (#50902) 2025-07-10 10:35:12 -07:00
di_setup.ts refactor(core): include DI path into cyclic dependency error message (#50902) 2025-07-10 10:35:12 -07:00
dom_node_manipulation.ts fix(core): prevent animations renderer from impacting animate.leave (#63921) 2025-09-19 21:26:18 +00:00
dynamic_bindings.ts fix(core): InputBinding marks component a dirty. (#62613) 2025-07-14 15:46:29 -07:00
errors.ts refactor: clean up explicit standalone flags from tests (#63963) 2025-09-22 14:27:34 +00:00
errors_di.ts refactor(core): include DI path into cyclic dependency error message (#50902) 2025-07-10 10:35:12 -07:00
fields.ts refactor: add explicit types for exports relying on inferred call return type (#61312) 2025-05-13 22:45:18 +00:00
global_utils_api.ts feat(core): expose performance data in Chrome DevTools (#60789) 2025-04-14 11:12:55 -04:00
hmr.ts feat(platform-browser): Add IsolatedShadowDom encapsulation method (#62723) 2025-08-06 16:48:37 +02:00
hooks.ts refactor(core): move interfaces around (#64535) 2025-10-20 17:49:39 +00:00
index.ts refactor(core): add framework support for binding form controls (#63773) 2025-10-04 13:21:55 -07:00
list_reconciliation.ts fix(core): ensure @for iteration over field is reactive (#64113) 2025-10-24 09:29:29 +02:00
local_compilation.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
metadata.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
namespaces.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
ng_module_ref.ts feat(core): Allow passing application providers in bootstrapModule options (#64354) 2025-10-13 15:10:10 -07:00
node_assert.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
node_manipulation.ts fix(core): update animation scheduling (#64441) 2025-10-16 17:35:49 +00:00
node_manipulation_i18n.ts refactor(core): move DOM manipulation logic to its own file (#59462) 2025-01-16 10:38:44 -08:00
node_selector_matcher.ts refactor(core): simplify attributes extraction logic for ComponentRef (#59678) 2025-01-27 13:15:21 +01:00
PERF_NOTES.md docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
pipe.ts refactor(core): move the data store operation out of instructions (#61425) 2025-05-19 08:24:45 +00:00
profiler.ts refactor(core): allow multiple profilers (#60548) 2025-03-26 20:44:03 -07:00
profiler_types.ts feat(core): emit template function for template related profiler hooks (#60174) 2025-03-03 22:03:44 +00:00
pure_function.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
reactive_lview_consumer.ts refactor(core): use quad linked lists for signals (#62284) 2025-07-28 17:01:42 +02:00
scope.ts perf(core): avoid intermediate arrays in definition (#61445) 2025-05-19 09:20:07 +00:00
standalone_service.ts refactor(core): move interfaces around (#64535) 2025-10-20 17:49:39 +00:00
state.ts refactor(core): dispatch enter and leave animations at the right times (#63450) 2025-09-10 22:24:00 +00:00
STORING_METADATA_IN_D.TS.md docs: convert the last my-app components to app-root (#42256) 2021-05-25 22:13:36 +00:00
tnode_manipulation.ts refactor(core): consolidate first create pass (#61409) 2025-05-19 09:30:20 +00:00
tokens.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
TREE_SHAKING.md
view_context.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
VIEW_DATA.md fix(compiler): generate less code for advance instructions (#53845) 2024-01-09 12:27:58 -08:00
view_engine_compatibility_prebound.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
view_manipulation.ts refactor(core): convert scripts within packages/core/src to relative imports (#60227) 2025-03-25 10:58:00 -07:00
view_ref.ts refactor(core): wrap checkNoChanges body in if (ngDevMode) for better tree-shaking (#63387) 2025-09-15 21:11:39 +00:00