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

add repository member for cleaning up open file handles #730

Merged
merged 2 commits into from
Oct 29, 2017

Conversation

bobcarroll
Copy link
Contributor

This patch implements a repository member for cleaning up resources of the underlying repository struct without deallocating it. This is normally handled when deallocating the repository Python object. But longer running processes can run out of open file handles before the garbage collector runs.

@jdavid jdavid merged commit 1c7f72a into libgit2:master Oct 29, 2017
@bobcarroll bobcarroll deleted the repo-free branch December 8, 2017 22:08
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.

None yet

2 participants