Skip to content

add repository member for cleaning up open file handles #730

Merged
jdavid merged 2 commits into
libgit2:masterfrom
bobcarroll:repo-free
Oct 29, 2017
Merged

add repository member for cleaning up open file handles #730
jdavid merged 2 commits into
libgit2:masterfrom
bobcarroll:repo-free

Conversation

@bobcarroll

Copy link
Copy Markdown
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.

2 participants