mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-12-22 11:39:29 +00:00
fix npe force closing wallet on startup
This commit is contained in:
parent
d8161cd6e2
commit
bdcf8a2182
1 changed files with 5 additions and 3 deletions
|
@ -1758,9 +1758,11 @@ public class XmrWalletService {
|
||||||
|
|
||||||
private void forceCloseMainWallet() {
|
private void forceCloseMainWallet() {
|
||||||
stopPolling();
|
stopPolling();
|
||||||
isClosingWallet = true;
|
if (wallet != null) {
|
||||||
forceCloseWallet(wallet, getWalletPath(MONERO_WALLET_NAME));
|
isClosingWallet = true;
|
||||||
wallet = null;
|
forceCloseWallet(wallet, getWalletPath(MONERO_WALLET_NAME));
|
||||||
|
wallet = null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void forceRestartMainWallet() {
|
private void forceRestartMainWallet() {
|
||||||
|
|
Loading…
Reference in a new issue