mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-07 14:54:15 +00:00
WalletAppKit - block on shutdown.
This commit is contained in:
parent
82e056cab7
commit
ee0b56180b
@ -108,7 +108,7 @@ public class WalletAppKit extends AbstractIdleService {
|
||||
Runtime.getRuntime().addShutdownHook(new Thread() {
|
||||
@Override public void run() {
|
||||
try {
|
||||
WalletAppKit.this.stop();
|
||||
WalletAppKit.this.stopAndWait();
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user