mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-04 13:19:03 -04:00
Add null checks
This commit is contained in:
parent
fe0dcb510c
commit
2521023025
1 changed files with 4 additions and 2 deletions
|
@ -285,8 +285,10 @@ public class WalletService {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void shutDown() {
|
public void shutDown() {
|
||||||
wallet.removeEventListener(walletEventListener);
|
if (wallet != null)
|
||||||
walletAppKit.stopAsync();
|
wallet.removeEventListener(walletEventListener);
|
||||||
|
if (walletAppKit != null)
|
||||||
|
walletAppKit.stopAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
public Wallet getWallet() {
|
public Wallet getWallet() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue