aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2025-06-20 11:44:12 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2025-06-20 11:44:12 +0200
commit96ee341e9d5c2e50cd541ffc1b8b91451ff0c837 (patch)
treef2a28313c410c487bd1e8d957346787d4df7e047 /org.eclipse.jgit/src
parente90d1fa8911b246df198989765d199fa8565aad0 (diff)
parent3f3f3b5a6d474da5dadc60a80d2fc09a0e9872fe (diff)
downloadjgit-stable-7.0.tar.gz
jgit-stable-7.0.zip
Merge branch 'stable-6.10' into stable-7.0stable-7.0
* stable-6.10: Fix: Close the "preserved" PackDirectory Change-Id: Ie0ecfd8178ef4e2eef6a29d46be5645648fe88f3
Diffstat (limited to 'org.eclipse.jgit/src')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/ObjectDirectory.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/ObjectDirectory.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/ObjectDirectory.java
index 9f21481a13..3a6de4e8e2 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/ObjectDirectory.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/ObjectDirectory.java
@@ -200,6 +200,7 @@ public class ObjectDirectory extends FileObjectDatabase {
loose.close();
packed.close();
+ preserved.close();
// Fully close all loaded alternates and clear the alternate list.
AlternateHandle[] alt = alternates.get();