MCPcopy Index your code
hub / github.com/angular/angular / getOrCreateLViewCleanup

Function getOrCreateLViewCleanup

packages/core/src/render3/util/view_utils.ts:321–324  ·  view source on GitHub ↗
(view: LView)

Source from the content-addressed store, hash-verified

319}
320
321export function getOrCreateLViewCleanup(view: LView): any[] {
322 // top level variables should not be exported for performance reasons (PERF_NOTES.md)
323 return (view[CLEANUP] ??= []);
324}
325
326export function getOrCreateTViewCleanup(tView: TView): any[] {
327 return (tView.cleanup ??= []);

Callers 2

storeListenerCleanupFunction · 0.90
storeCleanupWithContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…