Files
node/test/parallel
Neal Beeken 40ef2da8d6 events: remove abort listener from signal in on
the `abortHandler` function is declared within the scope of
the `events.on` function so cannot be removed by the caller
which can lead to a memory leak
adding the abort listener using the `addAbortListener` helper
returns a disposable that can be used to clean up the listener
when the iterator is exited

Fixes: https://github.com/nodejs/node/issues/51010
PR-URL: https://github.com/nodejs/node/pull/51091
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
2024-03-15 15:10:59 +00:00
..
2024-03-02 11:46:24 +00:00
2024-03-03 23:15:35 +00:00
2024-02-15 19:46:30 +00:00
2023-11-15 11:49:14 +00:00
2023-11-17 00:16:38 +00:00