diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2025-06-20 11:45:33 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2025-06-20 11:45:33 +0200 |
commit | d1520489ca21e57edb63076b83f0599a099569c5 (patch) | |
tree | 128855d96d22215f59e7a4b30476827ea77d9460 /org.eclipse.jgit/src | |
parent | 6e0db8377b5fba2988d8ade84011ea07ee06414e (diff) | |
parent | 96ee341e9d5c2e50cd541ffc1b8b91451ff0c837 (diff) | |
download | jgit-stable-7.1.tar.gz jgit-stable-7.1.zip |
Merge branch 'stable-7.0' into stable-7.1stable-7.1
* stable-7.0:
Fix: Close the "preserved" PackDirectory
Change-Id: Icd3f79322f8c021e18fd5c881cd9f2a406230fa8
Diffstat (limited to 'org.eclipse.jgit/src')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/ObjectDirectory.java | 1 |
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(); |