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

n-api: do not call into JS when that is not allowed #26127

Closed
wants to merge 1 commit into from

Conversation

addaleax
Copy link
Member

Check whether calling into JS is allowed before doing so.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Check whether calling into JS is allowed before doing so.
@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. node-api Issues and PRs related to the Node-API. labels Feb 15, 2019
@addaleax addaleax added worker Issues and PRs related to Worker support. c++ Issues and PRs that require attention from people who are familiar with C++. node-api Issues and PRs related to the Node-API. and removed c++ Issues and PRs that require attention from people who are familiar with C++. node-api Issues and PRs related to the Node-API. labels Feb 15, 2019
@addaleax
Copy link
Member Author

Copy link
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

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

LGTM

@mhdawson
Copy link
Member

@addaleax
Copy link
Member Author

Landed in 441ef4d

@addaleax addaleax closed this Feb 17, 2019
@addaleax addaleax deleted the napi-do-not-call branch February 17, 2019 17:17
addaleax added a commit that referenced this pull request Feb 17, 2019
Check whether calling into JS is allowed before doing so.

PR-URL: #26127
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
addaleax added a commit that referenced this pull request Feb 17, 2019
Check whether calling into JS is allowed before doing so.

PR-URL: #26127
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
@BridgeAR BridgeAR mentioned this pull request Feb 26, 2019
rvagg pushed a commit that referenced this pull request Feb 28, 2019
Check whether calling into JS is allowed before doing so.

PR-URL: #26127
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ Issues and PRs that require attention from people who are familiar with C++. node-api Issues and PRs related to the Node-API. worker Issues and PRs related to Worker support.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants