repl: fix eval errors thrown after close throwing ERR_USE_AFTER_CLOSE#58791
Conversation
prevent incorrect throws of `ERR_USE_AFTER_CLOSE` errors when the eval function of a repl server returns an error after the repl server has been closed
|
I have confirmed that this patch fixes my issue. |
Commit Queue failednode:internal/modules/esm/resolve:275
throw new ERR_MODULE_NOT_FOUND(
^
https://github.com/nodejs/node/actions/runs/15943283499 |
prevent incorrect throws of `ERR_USE_AFTER_CLOSE` errors when the eval function of a repl server returns an error after the repl server has been closed PR-URL: #58791 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
prevent incorrect throws of `ERR_USE_AFTER_CLOSE` errors when the eval function of a repl server returns an error after the repl server has been closed PR-URL: #58791 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
prevent incorrect throws of `ERR_USE_AFTER_CLOSE` errors when the eval function of a repl server returns an error after the repl server has been closed PR-URL: #58791 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>

Fixes #58784
prevent incorrect throws of
ERR_USE_AFTER_CLOSEerrors when the eval function of a repl server returns an error after the repl server has been closed