Skip to content

Commit e152212

Browse files
committed
fixup: remove unneeded comments
1 parent 643efe1 commit e152212

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/internal/abort_controller.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,7 @@ class AbortSignal extends EventTarget {
276276
resultSignal[kSourceSignals].add(signalWeakRef);
277277
signal[kDependantSignals].add(resultSignalWeakRef);
278278
dependantSignalsCleanupRegistry.register(resultSignal, signalWeakRef);
279-
// when the source signal - coming from the controller - is gced, we need to remove it from the dependant
280-
// signals of the composite signal
281-
finalizer.register(signal, { sourceSignalRef: signalWeakRef, composedSignalRef: resultSignalWeakRef});
279+
finalizer.register(signal, { sourceSignalRef: signalWeakRef, composedSignalRef: resultSignalWeakRef });
282280
} else if (!signal[kSourceSignals]) {
283281
continue;
284282
} else {

0 commit comments

Comments
 (0)