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

Function unregisterLView

packages/core/src/render3/interfaces/lview_tracking.ts:37–40  ·  view source on GitHub ↗
(lView: LView)

Source from the content-addressed store, hash-verified

35
36/** Stops tracking an LView. */
37export function unregisterLView(lView: LView): void {
38 ngDevMode && assertNumber(lView[ID], 'Cannot stop tracking an LView that does not have an ID');
39 TRACKED_LVIEWS.delete(lView[ID]);
40}
41
42/** Gets the currently-tracked views. */
43export function getTrackedLViews(): ReadonlyMap<number, LView> {

Callers 2

cleanUpViewFunction · 0.90
createComponentRefMethod · 0.90

Calls 2

assertNumberFunction · 0.90
deleteMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…