Files
node/lib
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-15 13:09:48 +00:00
…
2023-07-11 19:50:13 +03:00
2023-06-24 15:52:38 +00:00
…
2023-11-11 16:25:08 +00:00
2023-11-11 16:25:08 +00:00
2024-03-14 02:01:26 +00:00
2024-01-12 16:09:48 +00:00
2023-06-12 00:00:46 +00:00
2023-11-11 16:25:08 +00:00
2023-04-03 17:47:28 +00:00
2023-07-11 19:50:13 +03:00
2024-02-02 15:25:34 +01:00
…
2023-12-23 10:23:43 +00:00
…
2023-11-11 16:25:08 +00:00