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

Investigate use of Global instead of Persistent #96

Open
flippmoke opened this issue Dec 19, 2017 · 0 comments
Open

Investigate use of Global instead of Persistent #96

flippmoke opened this issue Dec 19, 2017 · 0 comments

Comments

@flippmoke
Copy link
Member

Currently we only use Nan::Persistent which requires that we call Reset() prior to the objects destruction or the object will never be garbage collected. Nan::Global is an alternative that provides automatically calls reset at the time of destruction of the hander.

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

1 participant