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:
|
||
|---|---|---|
| .. | ||
| console.spec.ts | ||
| crypto.spec.ts | ||
| Error.spec.ts | ||
| events.spec.ts | ||
| fs.spec.ts | ||
| http.spec.ts | ||
| process.spec.ts | ||
| timer.spec.ts | ||