Finalizer for napi_create_function()

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Closed

Assignees

gabrielschulhof

@gabrielschulhof

Description

When using napi_create_object() and napi_create_function(), you cannot
specify a finalizer callback, which probably should be allowed since it
can be useful to have.

The omission of a napi_finalize for napi_create_function() is of particular concern IMO.

Re: nodejs/node#14256

Metadata

Metadata

Labels

No labels

No labels

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions