Skip to content

Commit 3673174

Browse files
committed
events: remove redundant todo
1 parent b4b1413 commit 3673174

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/internal/event_target.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -639,8 +639,6 @@ class EventTarget {
639639
if (signal.aborted) {
640640
return;
641641
}
642-
// TODO(benjamingr) make this weak somehow? ideally the signal would
643-
// not prevent the event target from GC.
644642
signal.addEventListener('abort', () => {
645643
this.removeEventListener(type, listener, options);
646644
}, { __proto__: null, once: true, [kWeakHandler]: this, [kResistStopPropagation]: true });

0 commit comments

Comments
 (0)