node/lib/internal/debugger
Joyee Cheung dc38a45a55
debugger: fix event listener leak in the run command
It should remove both the error and the ready event listeners
attached when either of them fires, instead of removing only
the one whose corresponding event fires, otherwise the other
event listener will always get leaked.

PR-URL: https://github.com/nodejs/node/pull/60464
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
2025-11-10 13:38:33 +01:00
..
inspect_client.js debugger: fix event listener leak in the run command 2025-11-10 13:38:33 +01:00
inspect_repl.js debugger: fix behavior of plain object exec in debugger repl 2025-03-18 19:30:31 +00:00
inspect.js