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

node-api: document node-api shutdown finalization #45903

Merged
merged 1 commit into from Mar 20, 2023

Commits on Dec 18, 2022

  1. node-api: document node-api shutdown finalization

    As status quo, the cleanup hooks are invoked before the `napi_finalize`
    callbacks at the exit of Node.js environments. This gives addons a
    chance to release their resource in a proper order manually.
    
    Document this behavior explicitly to advocate the usage on cleanup
    hooks instead of relying on the implied invocation of `napi_finalize`
    callbacks at shutdown.
    legendecas committed Dec 18, 2022
    Configuration menu
    Copy the full SHA
    79fecec View commit details
    Browse the repository at this point in the history