forked from Public/monero-gui
fix corrupt wallet on killed app during sync
This commit is contained in:
2
main.qml
2
main.qml
@@ -144,7 +144,7 @@ ApplicationWindow {
|
|||||||
// basicPanel.paymentClicked.connect(handlePayment);
|
// basicPanel.paymentClicked.connect(handlePayment);
|
||||||
|
|
||||||
// currentWallet is defined on daemon address change - close/reopen
|
// currentWallet is defined on daemon address change - close/reopen
|
||||||
if (currentWallet !== undefined) {
|
if (currentWallet != undefined) {
|
||||||
console.log("closing currentWallet")
|
console.log("closing currentWallet")
|
||||||
walletManager.closeWallet(currentWallet);
|
walletManager.closeWallet(currentWallet);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user