mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Add null checks
This commit is contained in:
parent
fe0dcb510c
commit
2521023025
@ -285,8 +285,10 @@ public class WalletService {
|
||||
}
|
||||
|
||||
public void shutDown() {
|
||||
wallet.removeEventListener(walletEventListener);
|
||||
walletAppKit.stopAsync();
|
||||
if (wallet != null)
|
||||
wallet.removeEventListener(walletEventListener);
|
||||
if (walletAppKit != null)
|
||||
walletAppKit.stopAsync();
|
||||
}
|
||||
|
||||
public Wallet getWallet() {
|
||||
|
Loading…
Reference in New Issue
Block a user