mirror of
https://github.com/retoaccess1/haveno-reto.git
synced 2024-12-11 12:23:32 +01:00
fix npe force closing wallet on startup
This commit is contained in:
parent
d8161cd6e2
commit
bdcf8a2182
@ -1758,9 +1758,11 @@ public class XmrWalletService {
|
||||
|
||||
private void forceCloseMainWallet() {
|
||||
stopPolling();
|
||||
isClosingWallet = true;
|
||||
forceCloseWallet(wallet, getWalletPath(MONERO_WALLET_NAME));
|
||||
wallet = null;
|
||||
if (wallet != null) {
|
||||
isClosingWallet = true;
|
||||
forceCloseWallet(wallet, getWalletPath(MONERO_WALLET_NAME));
|
||||
wallet = null;
|
||||
}
|
||||
}
|
||||
|
||||
private void forceRestartMainWallet() {
|
||||
|
Loading…
Reference in New Issue
Block a user