summaryrefslogtreecommitdiff
path: root/AUTHORS
diff options
context:
space:
mode:
authorJames E. Blair <jeblair@redhat.com>2017-10-09 13:37:42 -0700
committerJames E. Blair <jeblair@redhat.com>2017-10-09 13:37:42 -0700
commit454fedab8ea138057cc73aa545ecb2cf0dac5b4b (patch)
tree917efe7abe34cb5f710b76cbc5d1ade8dbd7ca74 /AUTHORS
parentf237620189a55d491b64cac4b5dc01b832cb3cbe (diff)
downloadgitpython-454fedab8ea138057cc73aa545ecb2cf0dac5b4b.tar.gz
Only gc.collect() under windows
Under Windows, tempfile objects are holding references to open files until the garbage collector closes them and frees them. Explicit calls to gc.collect() were added to the finalizer for the Repo class to force them to be closed synchronously. However, this is expensive, especially in large, long-running programs. As a temporary measure to alleviate the performance regression on other platforms, only perform these calls when running under Windows. Fixes #553
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions