Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 828feb2

Browse filesBrowse files
gurgundayaduh95
authored andcommitted
events: remove redundant todo
PR-URL: #60595 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
1 parent cf56327 commit 828feb2
Copy full SHA for 828feb2

1 file changed

-2Lines changed: 0 additions & 2 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎lib/internal/event_target.js‎

Copy file name to clipboardExpand all lines: lib/internal/event_target.js
-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.