mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The `Timeout` object in Node.js has a `refresh` method, used to restart `setTimeout`/`setInterval` timers. Before this commit, `Timeout.refresh` was not handled, leading to memory leaks when using `fetch` in Node.js. This issue arose because `undici` (the Node.js fetch implementation) uses a refreshed `setTimeout` for cleanup operations.
For reference, see:
|
||
|---|---|---|
| .. | ||
| error-rewrite.ts | ||
| events.ts | ||
| fetch.ts | ||
| promise.ts | ||
| queue-microtask.ts | ||
| rollup-error-rewrite.ts | ||
| rollup-fetch.ts | ||
| timers.ts | ||
| to-string.ts | ||
| utils.ts | ||