Skip to content

n-api: fix false assumption on napi_async_context structures - #32928

Closed
legendecas wants to merge 1 commit into
nodejs:masterfrom
legendecas:napi_callback_scope
Closed

n-api: fix false assumption on napi_async_context structures#32928
legendecas wants to merge 1 commit into
nodejs:masterfrom
legendecas:napi_callback_scope

Conversation

@legendecas

Copy link
Copy Markdown
Member

napi_async_context should be an opaque type and not be used as same as
node::async_context.

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

@legendecaslegendecas added test Issues and PRs related to the tests. node-api Issues and PRs related to the Node-API. labels Apr 19, 2020
napi_async_context should be an opaque type and not be used as same as
node::async_context.
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@mhdawsonmhdawson 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

@addaleax

Copy link
Copy Markdown
Member

Landed in 307c67b

addaleax pushed a commit that referenced this pull request Apr 27, 2020
napi_async_context should be an opaque type and not be used as same as
node::async_context.
PR-URL: #32928
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@legendecas
legendecas deleted the napi_callback_scope branch April 28, 2020 02:10
BethGriggs pushed a commit that referenced this pull request Apr 28, 2020
napi_async_context should be an opaque type and not be used as same as
node::async_context.
PR-URL: #32928
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
BridgeAR pushed a commit that referenced this pull request Apr 28, 2020
napi_async_context should be an opaque type and not be used as same as
node::async_context.
PR-URL: #32928
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
BridgeAR pushed a commit that referenced this pull request Apr 28, 2020
napi_async_context should be an opaque type and not be used as same as
node::async_context.
PR-URL: #32928
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@BridgeARBridgeAR mentioned this pull request Apr 28, 2020
@BethGriggsBethGriggs mentioned this pull request Apr 28, 2020
BethGriggs pushed a commit that referenced this pull request Apr 28, 2020
napi_async_context should be an opaque type and not be used as same as
node::async_context.
PR-URL: #32928
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
targos pushed a commit that referenced this pull request Apr 30, 2020
napi_async_context should be an opaque type and not be used as same as
node::async_context.
PR-URL: #32928
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@targostargos mentioned this pull request May 2, 2020
targos pushed a commit that referenced this pull request May 13, 2020
napi_async_context should be an opaque type and not be used as same as
node::async_context.
PR-URL: #32928
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

node-apiIssues and PRs related to the Node-API.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@legendecas@nodejs-github-bot@addaleax@mhdawson