From b9ad4ec3d6c67968e699633607098fb677d74212 Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Sun, 31 Jan 2021 20:55:27 +0000 Subject: [PATCH] kill the timer on H2 hostcache shutdown --- .../src/main/groovy/com/muwire/core/hostcache/H2HostCache.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/groovy/com/muwire/core/hostcache/H2HostCache.groovy b/core/src/main/groovy/com/muwire/core/hostcache/H2HostCache.groovy index 3fe1647d..56c3f7cf 100644 --- a/core/src/main/groovy/com/muwire/core/hostcache/H2HostCache.groovy +++ b/core/src/main/groovy/com/muwire/core/hostcache/H2HostCache.groovy @@ -287,6 +287,7 @@ class H2HostCache extends HostCache { } @Override public synchronized void stop() { + timer.cancel() sql.close() } @Override