GitRepository: Close repository when cloning is done
Fixed
@@ -256,6 +256,7 @@ public class GitCloner {
Transience.PERSISTENT);
} finally {
if (git != null) {
+ git.getRepository().close();
git.close();
}
if (fetchEvent != null) {
