Skip to content

Commit

Permalink
fixup: remove unneeded comments
Browse files Browse the repository at this point in the history
  • Loading branch information
geeksilva97 committed Nov 26, 2024
1 parent 643efe1 commit bd8fe65
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/internal/abort_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bd8fe65

Please sign in to comment.