mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-07 23:03:04 +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() {
|
Runtime.getRuntime().addShutdownHook(new Thread() {
|
||||||
@Override public void run() {
|
@Override public void run() {
|
||||||
try {
|
try {
|
||||||
WalletAppKit.this.stop();
|
WalletAppKit.this.stopAndWait();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user