When passing an signal: AbortSignal to the fetch method we register an 'abort' listener through the new Request constructor (i.e. following signal). However, the spec does not define when and where this listener should be released in order to not cause leaks in the user provided signal.
Refs: https://github.com/nodejs/undici/blob/0badd390ad5aa531a66aacee54da664468aa1577/lib/api/api-fetch/request.js#L280-L295
When passing an
signal: AbortSignalto the fetch method we register an'abort'listener through thenew Requestconstructor (i.e. following signal). However, the spec does not define when and where this listener should be released in order to not cause leaks in the user provided signal.Refs: https://github.com/nodejs/undici/blob/0badd390ad5aa531a66aacee54da664468aa1577/lib/api/api-fetch/request.js#L280-L295