diff --git a/lib/fetch/request.js b/lib/fetch/request.js index 9764871b6f6..c9672cddfaf 100644 --- a/lib/fetch/request.js +++ b/lib/fetch/request.js @@ -354,9 +354,8 @@ class Request { if (signal.aborted) { ac.abort(signal.reason) } else { - const acRef = new WeakRef(ac) const abort = function () { - acRef.deref()?.abort(this.reason) + ac.abort(this.reason) } if (getEventListeners(signal, 'abort').length >= defaultMaxListeners) {