Skip to content

Refactor classes#250

Merged
tbranyen merged 8 commits intomasterfrom
refactor-classes
Oct 23, 2014
Merged

Refactor classes#250
tbranyen merged 8 commits intomasterfrom
refactor-classes

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