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

Function removeProfiler

packages/core/src/render3/debug/injector_profiler.ts:214–219  ·  view source on GitHub ↗
(profiler: InjectorProfiler)

Source from the content-addressed store, hash-verified

212const NOOP_PROFILER_REMOVAL = () => {};
213
214function removeProfiler(profiler: InjectorProfiler) {
215 const profilerIdx = injectorProfilerCallbacks.indexOf(profiler);
216 if (profilerIdx !== -1) {
217 injectorProfilerCallbacks.splice(profilerIdx, 1);
218 }
219}
220
221/**
222 * Adds a callback function which will be invoked during certain DI events within the

Callers 2

enableProfilingFunction · 0.70
setInjectorProfilerFunction · 0.70

Calls 1

indexOfMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…