Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

async_hooks: CHECK that resource is not empty #14694

Closed
wants to merge 1 commit into from

Conversation

addaleax
Copy link
Member

@addaleax addaleax commented Aug 8, 2017

This condition can be triggered through the public C++ embedder API, so check for it.

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

async_hooks

@addaleax addaleax added the async_hooks Issues and PRs related to the async hooks subsystem. label Aug 8, 2017
@nodejs-github-bot nodejs-github-bot added async_wrap c++ Issues and PRs that require attention from people who are familiar with C++. labels Aug 8, 2017
Copy link
Member

@bnoordhuis bnoordhuis left a comment

Choose a reason for hiding this comment

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

LGTM. Maybe also do it for type.

This condition can be triggered through the public C++ embedder API.
@addaleax addaleax force-pushed the async-hooks-check-resource branch from 2868276 to 35cb4af Compare August 8, 2017 17:33
@addaleax
Copy link
Member Author

addaleax commented Aug 8, 2017

@bnoordhuis Done, although I’m less worried about that because that code path wouldn’t reachable from public APIs, I think.

@addaleax
Copy link
Member Author

Landed in 66fd78e

@addaleax addaleax closed this Aug 10, 2017
@addaleax addaleax deleted the async-hooks-check-resource branch August 10, 2017 15:33
addaleax added a commit that referenced this pull request Aug 10, 2017
This condition can be triggered through the public C++ embedder API.

PR-URL: #14694
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
addaleax added a commit that referenced this pull request Aug 10, 2017
This condition can be triggered through the public C++ embedder API.

PR-URL: #14694
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
@addaleax addaleax mentioned this pull request Aug 13, 2017
@MylesBorins MylesBorins added the baking-for-lts PRs that need to wait before landing in a LTS release. label Sep 19, 2017
@MylesBorins MylesBorins removed the baking-for-lts PRs that need to wait before landing in a LTS release. label Aug 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
async_hooks Issues and PRs related to the async hooks subsystem. c++ Issues and PRs that require attention from people who are familiar with C++.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants