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

Implement Napi::details::AttachData via napi_add_finalizer #557

Closed
gabrielschulhof opened this issue Oct 6, 2019 · 0 comments
Closed

Implement Napi::details::AttachData via napi_add_finalizer #557

gabrielschulhof opened this issue Oct 6, 2019 · 0 comments

Comments

@gabrielschulhof
Copy link
Contributor

Let's do this when napi_add_finalizer is no longer experimental.

Re: #551 (comment)

gabrielschulhof pushed a commit to gabrielschulhof/node-addon-api that referenced this issue Oct 28, 2019
Use `napi_add_finalizer()` to attach data when building against N-API 5
instead of the symbol + external approach that leaves a trace on the
target object.

Fixes: nodejs#557
gabrielschulhof pushed a commit to gabrielschulhof/node-addon-api that referenced this issue Oct 29, 2019
Use `napi_add_finalizer()` to attach data when building against N-API 5
instead of the symbol + external approach that leaves a trace on the
target object.

Fixes: nodejs#557
kevindavies8 added a commit to kevindavies8/node-addon-api-Develop that referenced this issue Aug 24, 2022
Use `napi_add_finalizer()` to attach data when building against N-API 5
instead of the symbol + external approach that leaves a trace on the
target object.

Fixes: nodejs/node-addon-api#557
PR-URL: nodejs/node-addon-api#577
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Marlyfleitas added a commit to Marlyfleitas/node-api-addon-Development that referenced this issue Aug 26, 2022
Use `napi_add_finalizer()` to attach data when building against N-API 5
instead of the symbol + external approach that leaves a trace on the
target object.

Fixes: nodejs/node-addon-api#557
PR-URL: nodejs/node-addon-api#577
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
wroy7860 added a commit to wroy7860/addon-api-benchmark-node that referenced this issue Sep 19, 2022
Use `napi_add_finalizer()` to attach data when building against N-API 5
instead of the symbol + external approach that leaves a trace on the
target object.

Fixes: nodejs/node-addon-api#557
PR-URL: nodejs/node-addon-api#577
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
johnfrench3 pushed a commit to johnfrench3/node-addon-api-git that referenced this issue Aug 11, 2023
Use `napi_add_finalizer()` to attach data when building against N-API 5
instead of the symbol + external approach that leaves a trace on the
target object.

Fixes: nodejs/node-addon-api#557
PR-URL: nodejs/node-addon-api#577
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant