diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2025-06-20 11:46:54 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2025-06-20 11:46:54 +0200 |
commit | 18ac443a8b8d21bbbc5462945ffe35bdd51b27e3 (patch) | |
tree | 37f1ff9f1856f0ff31e260a366b8963be206d976 | |
parent | 714830a3d680beb76256010adc6862314b418deb (diff) | |
parent | 8d524e74d6c14d551b543e6e9d3ef62e9d676d68 (diff) | |
download | jgit-18ac443a8b8d21bbbc5462945ffe35bdd51b27e3.tar.gz jgit-18ac443a8b8d21bbbc5462945ffe35bdd51b27e3.zip |
Merge branch 'stable-7.2' into stable-7.3
* stable-7.2:
Fix: Close the "preserved" PackDirectory
Change-Id: If9f2cd1278aad72f6ca7cae72fbd6b9f5ec66bc8
-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(); |