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: back up env before async work finalize #21129

Closed

Commits on Jun 6, 2018

  1. n-api: back up env before async work finalize

    We must back up the value of `_env` before calling the async work
    complete callback, because the complete callback may delete the
    instance in which `_env` is stored by calling `napi_delete_async_work`,
    and because we need to use it after the complete callback has
    completed.
    
    Fixes: nodejs#20966
    Gabriel Schulhof committed Jun 6, 2018
    Configuration menu
    Copy the full SHA
    c7b1950 View commit details
    Browse the repository at this point in the history