Skip to content

Remove GetRefValue#923

Merged
johnhaley81 merged 1 commit into
masterfrom
fix-out-values
Feb 25, 2016
Merged

Remove GetRefValue#923
johnhaley81 merged 1 commit into
masterfrom
fix-out-values

Conversation

@johnhaley81
Copy link
Copy Markdown
Collaborator

Using GetRefValue would return the V8 handled pointer instead of the pointer to the libgit2 value and the V8 handled pointer could be changed at any moment.

Removing this function and setting the pointer value to the underlying C object will prevent V8 GC screwing up a NodeGit app.

Using `GetRefValue` would return the V8 handled pointer instead of the pointer to the libgit2 value and the V8 handled pointer could be changed at any moment.

Removing this function and setting the pointer value to the underlying C object will prevent V8 GC screwing up a NodeGit app.
@johnhaley81
Copy link
Copy Markdown
Collaborator Author

@joshaber I want to get this in before another release. This is pretty big.

@joshaber
Copy link
Copy Markdown
Collaborator

That's fine, I'm in no rush.

johnhaley81 added a commit that referenced this pull request Feb 25, 2016
@johnhaley81 johnhaley81 merged commit 01b144f into master Feb 25, 2016
@johnhaley81 johnhaley81 deleted the fix-out-values branch February 25, 2016 16:40
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.

2 participants