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

Attempt to support __gc via weak-napi #153

Open
daurnimator opened this issue Mar 29, 2019 · 2 comments
Open

Attempt to support __gc via weak-napi #153

daurnimator opened this issue Mar 29, 2019 · 2 comments

Comments

@daurnimator
Copy link
Member

In node, we may be able to support __gc via use of https://github.com/node-ffi-napi/weak-napi

@giann
Copy link
Member

giann commented Jul 10, 2019

Now that weak references and finalizers are coming to v8 we can hopefully go further with this.

https://v8.dev/features/weak-references

@s-ol
Copy link

s-ol commented Jan 6, 2021

This is apparently in major browsers now as FinalizationRegistry.

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

No branches or pull requests

3 participants