Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Remove GetRefValue#923

Merged
johnhaley81 merged 1 commit intomasternodegit/nodegit:masterfrom
fix-out-valuesnodegit/nodegit:fix-out-valuesCopy head branch name to clipboard
Feb 25, 2016
Merged

Remove GetRefValue#923
johnhaley81 merged 1 commit intomasternodegit/nodegit:masterfrom
fix-out-valuesnodegit/nodegit:fix-out-valuesCopy head branch name to clipboard

Conversation

@johnhaley81
Copy link
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
Collaborator Author

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

@joshaber
Copy link
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.