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

Remove comment regarding releasing weakrefs #34

Merged

Conversation

fhinkel
Copy link
Member

@fhinkel fhinkel commented Dec 12, 2016

Affected core subsystem(s)

JS VM Api

Description of change

I think V8 can't distinguish between persistent and weakref, so the method to release weakrefs is needed.

value and persistent is about lifetime, not stack vs heap, right? If napi_value can be stored on the heap, we need to careful in V8 to handle this correctly. Is the section about "Methods to control object lifespan" pretty much in its final form?

@fhinkel fhinkel mentioned this pull request Dec 12, 2016
2 tasks
bnoordhuis

This comment was marked as off-topic.

@fhinkel fhinkel force-pushed the persistent_vs_weakref branch from a723b56 to 9061e98 Compare December 12, 2016 12:14
mhdawson

This comment was marked as off-topic.

@mhdawson
Copy link
Member

In terms of it being complete, its what we have needed so far, changes would be driven by input from porting additional modules.

@aruneshchandra aruneshchandra merged commit 28013d2 into nodejs:api-prototype-6.2.0 Jan 11, 2017
jasongin pushed a commit to jasongin/abi-stable-node that referenced this pull request Jan 26, 2017
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 this pull request may close these issues.

4 participants