]> source.dussan.org Git - jgit.git/commit
Unregister ShutdownHook when GC#PidLock is closed 12/204212/3
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 8 Sep 2023 00:32:57 +0000 (02:32 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 12 Sep 2023 20:43:15 +0000 (22:43 +0200)
commitf94be665f12d85304db056c6cb8934870de3e45a
tree3b6d53711fabb08f9daef1c9ebeef97a54945b5b
parente908e297db305299838df6a7f2c5ae6ba973f8ff
Unregister ShutdownHook when GC#PidLock is closed

Otherwise the JVM will accumulate the ShutdownHook objects of all GCs
run while the JVM is up.

Change-Id: Iadc723a939238a3a75b4ba47f898918eb4554ea3
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java