diff --git a/lib/internal/abort_controller.js b/lib/internal/abort_controller.js index 2514a8d0932aa2..997e7342481b48 100644 --- a/lib/internal/abort_controller.js +++ b/lib/internal/abort_controller.js @@ -276,8 +276,6 @@ class AbortSignal extends EventTarget { resultSignal[kSourceSignals].add(signalWeakRef); signal[kDependantSignals].add(resultSignalWeakRef); dependantSignalsCleanupRegistry.register(resultSignal, signalWeakRef); - // when the source signal - coming from the controller - is gced, we need to remove it from the dependant - // signals of the composite signal finalizer.register(signal, { sourceSignalRef: signalWeakRef, composedSignalRef: resultSignalWeakRef}); } else if (!signal[kSourceSignals]) { continue;