WalletAppKit: give shutdownHook thread a name

This commit is contained in:
Sean Gilligan 2022-07-27 17:04:36 -07:00 committed by Andreas Schildbach
parent 952751eee2
commit c2b4472f5c

View file

@ -470,7 +470,7 @@ public class WalletAppKit extends AbstractIdleService {
private void installShutdownHook() { private void installShutdownHook() {
if (autoStop) { if (autoStop) {
Runtime.getRuntime().addShutdownHook(new Thread(this::shutdownHook)); Runtime.getRuntime().addShutdownHook(new Thread(this::shutdownHook, "shutdownHook"));
} }
} }