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

Function onLViewDestroy

packages/core/src/defer/instructions.ts:213–218  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

211 }
212
213 const onLViewDestroy = () => {
214 invokeAllTriggerCleanupFns(lDetails);
215 if (ssrUniqueId !== null) {
216 registry?.cleanup([ssrUniqueId]);
217 }
218 };
219
220 // When defer block is triggered - unsubscribe from LView destroy cleanup.
221 storeTriggerCleanupFn(TriggerType.Regular, lDetails, () =>

Callers

nothing calls this directly

Calls 2

cleanupMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…