René's URL Explorer Experiment


Title: repl: fix eval errors thrown after close throwing `ERR_USE_AFTER_CLOSE` by dario-piotrowicz · Pull Request #58791 · nodejs/node · GitHub

Open Graph Title: repl: fix eval errors thrown after close throwing `ERR_USE_AFTER_CLOSE` by dario-piotrowicz · Pull Request #58791 · nodejs/node

X Title: repl: fix eval errors thrown after close throwing `ERR_USE_AFTER_CLOSE` by dario-piotrowicz · Pull Request #58791 · nodejs/node

Description: Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.

Open Graph Description: Fixes #58784 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

X Description: Fixes #58784 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

Opengraph URL: https://github.com/nodejs/node/pull/58791

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:0c6fd1e2-1b46-9c2e-7190-6eb3da805356
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB9DE:291B8A:A3F8AC:DDFF18:6A4D71B5
html-safe-nonce7bd25a8bc545269301dca0ae2e24a96827c60263c12910dc019cc118c9bfef4a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOURFOjI5MUI4QTpBM0Y4QUM6RERGRjE4OjZBNEQ3MUI1IiwidmlzaXRvcl9pZCI6IjcyNDc2ODQ1MTQwODc3OTMwNzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac37dd4bf51cdf59cd110649b04f4e4c0795059493df037a13337c8a07d7689247
hovercard-subject-tagpull_request:2609706188
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/nodejs/node/58791/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2080e055fb16f07a1b3fe440daa4e01e1e76a86b993b4a253be6873ea7f3ad9e/nodejs/node/pull/58791
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2080e055fb16f07a1b3fe440daa4e01e1e76a86b993b4a253be6873ea7f3ad9e/nodejs/node/pull/58791
og:image:altFixes #58784 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
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedario-piotrowicz
hostnamegithub.com
expected-hostnamegithub.com
Nonec78260c7b3f4ac4b0356c8208537f05406a3a2d46a9ec3f735b372dcc519c39e
turbo-cache-controlno-cache
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release399fff412f48461d435721c009efc17ea44be72f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/pull/58791#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F58791
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F58791
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/pull/58791
Reloadhttps://github.com/nodejs/node/pull/58791
Reloadhttps://github.com/nodejs/node/pull/58791
Please reload this pagehttps://github.com/nodejs/node/pull/58791
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/pull/58791
Notifications https://github.com/login?return_to=%2Fnodejs%2Fnode
Fork 36k https://github.com/login?return_to=%2Fnodejs%2Fnode
Star 118k https://github.com/login?return_to=%2Fnodejs%2Fnode
Code https://github.com/nodejs/node
Issues 1.4k https://github.com/nodejs/node/issues
Pull requests 962 https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality 0 https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Code https://github.com/nodejs/node
Issues https://github.com/nodejs/node/issues
Pull requests https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
nodejs-github-bothttps://github.com/nodejs-github-bot
nodejs:mainhttps://github.com/nodejs/node/tree/main
dario-piotrowicz:dario/58784/repl-error-after-close-fixhttps://github.com/dario-piotrowicz/node/tree/dario/58784/repl-error-after-close-fix
Conversationhttps://github.com/nodejs/node/pull/58791
Commits1 (1)https://github.com/nodejs/node/pull/58791/commits
Checkshttps://github.com/nodejs/node/pull/58791/checks
Files changedhttps://github.com/nodejs/node/pull/58791/files
repl: fix eval errors thrown after close throwing ERR_USE_AFTER_CLOSEhttps://github.com/nodejs/node/pull/58791#top
nodejs-github-bothttps://github.com/nodejs-github-bot
nodejs:mainhttps://github.com/nodejs/node/tree/main
dario-piotrowicz:dario/58784/repl-error-after-close-fixhttps://github.com/dario-piotrowicz/node/tree/dario/58784/repl-error-after-close-fix
https://github.com/dario-piotrowicz
dario-piotrowiczhttps://github.com/dario-piotrowicz
Jun 22, 2025https://github.com/nodejs/node/pull/58791#issue-3165932337
#58784https://github.com/nodejs/node/issues/58784
Please reload this pagehttps://github.com/nodejs/node/pull/58791
https://github.com/dario-piotrowicz
repl: fix eval errors thrown after close throwing ERR_USE_AFTER_CLOSEhttps://github.com/nodejs/node/pull/58791/commits/6851671e47553fad9e4156de984d08d7ec37fc50
6851671https://github.com/nodejs/node/pull/58791/commits/6851671e47553fad9e4156de984d08d7ec37fc50
https://github.com/dario-piotrowicz
dario-piotrowiczhttps://github.com/dario-piotrowicz
lpincahttps://github.com/lpinca
June 22, 2025 12:41https://github.com/nodejs/node/pull/58791#event-18261173773
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
needs-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aneeds-ci
repl https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Arepl
Jun 22, 2025https://github.com/nodejs/node/pull/58791#event-18261173855
https://github.com/dario-piotrowicz
dario-piotrowiczhttps://github.com/dario-piotrowicz
Jun 22, 2025 https://github.com/nodejs/node/pull/58791#ref-issue-3165481643
ERR_USE_AFTER_CLOSE in repl with async eval #58784 https://github.com/nodejs/node/issues/58784
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Jun 22, 2025https://github.com/nodejs/node/pull/58791#issuecomment-2994216114
Please reload this pagehttps://github.com/nodejs/node/pull/58791
Codecovhttps://app.codecov.io/gh/nodejs/node/pull/58791?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
(d7becc5)https://app.codecov.io/gh/nodejs/node/commit/d7becc58750096b711c55a378a55f596a45f3ce1?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
(6851671)https://app.codecov.io/gh/nodejs/node/commit/6851671e47553fad9e4156de984d08d7ec37fc50?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
Files with missing lineshttps://app.codecov.io/gh/nodejs/node/pull/58791?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
lib/repl.jshttps://app.codecov.io/gh/nodejs/node/pull/58791?src=pr&el=tree&filepath=lib%2Frepl.js&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs#diff-bGliL3JlcGwuanM=
28 files with indirect coverage changeshttps://app.codecov.io/gh/nodejs/node/pull/58791/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nodejs
Test Analyticshttps://docs.codecov.com/docs/test-analytics
JS Bundle Analysishttps://docs.codecov.com/docs/javascript-bundle-analysis
Please reload this pagehttps://github.com/nodejs/node/pull/58791
https://github.com/lpinca
lpincahttps://github.com/lpinca
Jun 22, 2025 https://github.com/nodejs/node/pull/58791#pullrequestreview-2948220844
View reviewed changes https://github.com/nodejs/node/pull/58791/files/6851671e47553fad9e4156de984d08d7ec37fc50
lpincahttps://github.com/lpinca
https://github.com/nodejs/node/pull/58791#pullrequestreview-2948220844
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/58791
https://github.com/lpinca
lpincahttps://github.com/lpinca
request-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Arequest-ci
Jun 22, 2025https://github.com/nodejs/node/pull/58791#event-18261616332
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
request-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Arequest-ci
Jun 22, 2025https://github.com/nodejs/node/pull/58791#event-18261649665
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Jun 22, 2025https://github.com/nodejs/node/pull/58791#issuecomment-2994268242
https://ci.nodejs.org/job/node-test-pull-request/67611/https://ci.nodejs.org/job/node-test-pull-request/67611/
Please reload this pagehttps://github.com/nodejs/node/pull/58791
https://github.com/hildjj
hildjjhttps://github.com/hildjj
Jun 22, 2025https://github.com/nodejs/node/pull/58791#issuecomment-2994274332
Please reload this pagehttps://github.com/nodejs/node/pull/58791
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Jun 22, 2025https://github.com/nodejs/node/pull/58791#issuecomment-2994497542
https://ci.nodejs.org/job/node-test-pull-request/67612/https://ci.nodejs.org/job/node-test-pull-request/67612/
Please reload this pagehttps://github.com/nodejs/node/pull/58791
https://github.com/BridgeAR
BridgeARhttps://github.com/BridgeAR
Jun 26, 2025 https://github.com/nodejs/node/pull/58791#pullrequestreview-2962447111
View reviewed changes https://github.com/nodejs/node/pull/58791/files/6851671e47553fad9e4156de984d08d7ec37fc50
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Jun 26, 2025https://github.com/nodejs/node/pull/58791#issuecomment-3008794613
https://ci.nodejs.org/job/node-test-pull-request/67667/https://ci.nodejs.org/job/node-test-pull-request/67667/
Please reload this pagehttps://github.com/nodejs/node/pull/58791
https://github.com/dario-piotrowicz
dario-piotrowiczhttps://github.com/dario-piotrowicz
commit-queue https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue
Jun 28, 2025https://github.com/nodejs/node/pull/58791#event-18368178650
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
commit-queue-failed https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue-failed
commit-queue https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue
Jun 28, 2025https://github.com/nodejs/node/pull/58791#event-18368213366
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Jun 28, 2025https://github.com/nodejs/node/pull/58791#issuecomment-3015172869
https://github.com/nodejs/node/actions/runs/15943283499
https://github.com/nodejs/node/actions/runs/15943283499https://github.com/nodejs/node/actions/runs/15943283499
Please reload this pagehttps://github.com/nodejs/node/pull/58791
https://github.com/aduh95
aduh95https://github.com/aduh95
author ready https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22author%20ready%22
commit-queue https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue
commit-queue-failed https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue-failed
Jun 28, 2025https://github.com/nodejs/node/pull/58791#event-18370816735
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
commit-queue https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue
Jun 28, 2025https://github.com/nodejs/node/pull/58791#event-18370830148
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
9fe3316https://github.com/nodejs/node/commit/9fe3316280c61d9dfb8428866a8e9c0834443fe1
Jun 28, 2025https://github.com/nodejs/node/pull/58791#event-18370834693
Please reload this pagehttps://github.com/nodejs/node/pull/58791
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Jun 28, 2025https://github.com/nodejs/node/pull/58791#issuecomment-3015982124
9fe3316https://github.com/nodejs/node/commit/9fe3316280c61d9dfb8428866a8e9c0834443fe1
Please reload this pagehttps://github.com/nodejs/node/pull/58791
https://github.com/dario-piotrowicz
dario-piotrowiczhttps://github.com/dario-piotrowicz
June 28, 2025 22:36https://github.com/nodejs/node/pull/58791#event-18371610696
targoshttps://github.com/targos
Jul 3, 2025 https://github.com/nodejs/node/pull/58791#ref-commit-efe19b5
https://github.com/dario-piotrowicz
https://github.com/targos
repl: fix eval errors thrown after close throwing ERR_USE_AFTER_CLOSEhttps://github.com/nodejs/node/commit/efe19b50b6208fd1358b681b9eff965d7ef49230
efe19b5https://github.com/nodejs/node/commit/efe19b50b6208fd1358b681b9eff965d7ef49230
#58791https://github.com/nodejs/node/pull/58791
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jul 8, 2025 https://github.com/nodejs/node/pull/58791#ref-pullrequest-3212840261
2025-07-09, Version 24.4.0 (Current) #58993 https://github.com/nodejs/node/pull/58993
aduh95https://github.com/aduh95
Jul 21, 2025 https://github.com/nodejs/node/pull/58791#ref-commit-2b54300
https://github.com/dario-piotrowicz
https://github.com/aduh95
repl: fix eval errors thrown after close throwing ERR_USE_AFTER_CLOSEhttps://github.com/nodejs/node/commit/2b543006bcb4b8f126ed8ef20517f242a4d6fd98
2b54300https://github.com/nodejs/node/commit/2b543006bcb4b8f126ed8ef20517f242a4d6fd98
#58791https://github.com/nodejs/node/pull/58791
aduh95https://github.com/aduh95
Jul 24, 2025 https://github.com/nodejs/node/pull/58791#ref-commit-f0a165d
https://github.com/dario-piotrowicz
https://github.com/aduh95
repl: fix eval errors thrown after close throwing ERR_USE_AFTER_CLOSEhttps://github.com/nodejs/node/commit/f0a165d89fd050db31e73089b1755bae0b3a7d62
f0a165dhttps://github.com/nodejs/node/commit/f0a165d89fd050db31e73089b1755bae0b3a7d62
#58791https://github.com/nodejs/node/pull/58791
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jul 28, 2025 https://github.com/nodejs/node/pull/58791#ref-pullrequest-3268981161
2025-07-29, Version 22.18.0 'Jod' (LTS) #59256 https://github.com/nodejs/node/pull/59256
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F58791
https://github.com/lpinca
lpinca https://github.com/lpinca
https://github.com/nodejs/node/pull/58791/files/6851671e47553fad9e4156de984d08d7ec37fc50
https://github.com/BridgeAR
BridgeAR https://github.com/BridgeAR
https://github.com/nodejs/node/pull/58791/files/6851671e47553fad9e4156de984d08d7ec37fc50
author ready https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22author%20ready%22
needs-ci https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aneeds-ci
repl https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Arepl
ERR_USE_AFTER_CLOSE in repl with async eval https://github.com/nodejs/node/issues/58784
Please reload this pagehttps://github.com/nodejs/node/pull/58791
https://github.com/dario-piotrowicz
https://github.com/nodejs-github-bot
https://github.com/hildjj
https://github.com/lpinca
https://github.com/BridgeAR
https://github.com/aduh95
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.