mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-03-10 17:26:28 +01:00
WalletAppKit: give shutdownHook thread a name
This commit is contained in:
parent
952751eee2
commit
c2b4472f5c
1 changed files with 1 additions and 1 deletions
|
@ -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"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue