We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 643efe1 commit e152212Copy full SHA for e152212
lib/internal/abort_controller.js
@@ -276,9 +276,7 @@ class AbortSignal extends EventTarget {
276
resultSignal[kSourceSignals].add(signalWeakRef);
277
signal[kDependantSignals].add(resultSignalWeakRef);
278
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});
+ finalizer.register(signal, { sourceSignalRef: signalWeakRef, composedSignalRef: resultSignalWeakRef });
282
} else if (!signal[kSourceSignals]) {
283
continue;
284
} else {
0 commit comments