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

Function getOrCreateTViewCleanup

packages/core/src/render3/util/view_utils.ts:326–328  ·  view source on GitHub ↗
(tView: TView)

Source from the content-addressed store, hash-verified

324}
325
326export function getOrCreateTViewCleanup(tView: TView): any[] {
327 return (tView.cleanup ??= []);
328}
329
330/**
331 * Saves context for this cleanup function in LView.cleanupInstances.

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…