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

Method ngOnDestroy

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

Source from the content-addressed store, hash-verified

216 }
217
218 ngOnDestroy() {
219 this.clearTimeout();
220 this.current.length = 0;
221 this.deferred.length = 0;
222 }
223
224 /** @nocollapse */
225 static ɵprov = /** @pureOrBreakMyCode */ /* @__PURE__ */ ɵɵdefineInjectable({

Callers

nothing calls this directly

Calls 1

clearTimeoutMethod · 0.95

Tested by

no test coverage detected