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

Refactor classes#250

Merged
tbranyen merged 8 commits intomasternodegit/nodegit:masterfrom
refactor-classesnodegit/nodegit:refactor-classesCopy head branch name to clipboard
Oct 23, 2014
Merged

Refactor classes#250
tbranyen merged 8 commits intomasternodegit/nodegit:masterfrom
refactor-classesnodegit/nodegit:refactor-classesCopy head branch name to clipboard

Conversation

@maxkorp
Copy link
Collaborator

@maxkorp maxkorp commented Oct 23, 2014

This changes the way memory is handled (so that only root level objects free themselves, all lower level objects expect to be freed by their parents because libgit 2 is weird). Also changes many methods like createCommit to create.
Added a test to revwalk to make sure there is no segfault, but wont run on travis/appveyor because it requires a node argument. Might be worth moving out anyways, as its not really a revwalk test, that was just the mechanism that originally broke it.

@maxkorp
Copy link
Collaborator Author

maxkorp commented Oct 23, 2014

Added script: npm --expose-gc test to travis.yml, so it can at least run the gc test on travis.

@tbranyen
Copy link
Member

Thanks for this!

tbranyen added a commit that referenced this pull request Oct 23, 2014
@tbranyen tbranyen merged commit 4113536 into master Oct 23, 2014
@tbranyen tbranyen deleted the refactor-classes branch October 23, 2014 21:10
@johnhaley81
Copy link
Collaborator

This fixes #240.

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.

3 participants

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