Skip to content

Allow napi_add_finalizer to work on primitive types #48311

Description

@gabrielschulhof

What is the problem this feature will solve?

We may want to have feature parity with napi_create_reference, since, internally, both create a reference.

@nodejs/node-api WDYT?

What is the feature you are proposing to solve the problem?

Open up napi_add_finalizer to primitive types.

What alternatives have you considered?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues requesting new Node.js features.node-apiIssues and PRs related to Node-API.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions