Skip to content

src: handle exceptions from ToDetailString() - #28019

Closed
addaleax wants to merge 1 commit into
nodejs:masterfrom
addaleax:to-detail-string
Closed

src: handle exceptions from ToDetailString()#28019
addaleax wants to merge 1 commit into
nodejs:masterfrom
addaleax:to-detail-string

Conversation

@addaleax

Copy link
Copy Markdown
Member

These methods may fail if execution is terminating.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

These methods may fail if execution is terminating.
@addaleaxaddaleax added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. labels Jun 2, 2019

@TrottTrott left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I imagine this would be pretty difficult to test reliably, or maybe even at all?

@addaleax

Copy link
Copy Markdown
MemberAuthor

@Trott Yes – it’s not possible to test this reliably, and the race condition window is rather small.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@TrottTrott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jun 2, 2019
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@addaleax

Copy link
Copy Markdown
MemberAuthor

Landed in 626f243

@addaleaxaddaleax closed this Jun 9, 2019
@addaleax
addaleax deleted the to-detail-string branch June 9, 2019 20:35
addaleax added a commit that referenced this pull request Jun 9, 2019
These methods may fail if execution is terminating.
PR-URL: #28019
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
BridgeAR pushed a commit that referenced this pull request Jun 17, 2019
These methods may fail if execution is terminating.
PR-URL: #28019
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
@BridgeARBridgeAR mentioned this pull request Jun 17, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.c++Issues and PRs that require attention from people who are familiar with C++.lib / srcIssues and PRs related to general changes in the lib or src directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@addaleax@nodejs-github-bot@bnoordhuis@Trott@targos@cjihrig@BridgeAR