From e1522128218b0995b15b3169484715a4d12d636e Mon Sep 17 00:00:00 2001 From: Edy Silva Date: Tue, 26 Nov 2024 14:03:29 -0300 Subject: [PATCH] fixup: remove unneeded comments --- lib/internal/abort_controller.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/internal/abort_controller.js b/lib/internal/abort_controller.js index 2514a8d0932aa2..5d114edf9ecb9e 100644 --- a/lib/internal/abort_controller.js +++ b/lib/internal/abort_controller.js @@ -276,9 +276,7 @@ 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}); + finalizer.register(signal, { sourceSignalRef: signalWeakRef, composedSignalRef: resultSignalWeakRef }); } else if (!signal[kSourceSignals]) { continue; } else {