Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
node-api: create reference only when needed
Optimize napi_create_external() to create the reference for calling finalizer only if user actually provides a finalizer callback.
- Loading branch information