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:
|
||
|---|---|---|
| .. | ||
| clock-tests | ||
| async-test.spec.ts | ||
| fake-async-test.spec.ts | ||
| long-stack-trace-zone.spec.ts | ||
| proxy.spec.ts | ||
| sync-test.spec.ts | ||
| task-tracking.spec.ts | ||