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: create functions directly #21688

Commits on Jul 9, 2018

  1. n-api: create functions directly

    Avoid using `v8::FunctionTemplate::New()` when using
    `v8::Function::New()` suffices. This ensures that individual functions
    can be gc-ed and that functions can be created dynamically without
    running out of memory.
    Gabriel Schulhof committed Jul 9, 2018
    Configuration menu
    Copy the full SHA
    bde34a1 View commit details
    Browse the repository at this point in the history