mirror of
https://github.com/monero-project/monero-gui
synced 2025-01-02 21:26:24 +01:00
commit
05844b0a29
@ -650,6 +650,12 @@ Wallet::~Wallet()
|
|||||||
delete m_history;
|
delete m_history;
|
||||||
m_history = NULL;
|
m_history = NULL;
|
||||||
//Monero::WalletManagerFactory::getWalletManager()->closeWallet(m_walletImpl);
|
//Monero::WalletManagerFactory::getWalletManager()->closeWallet(m_walletImpl);
|
||||||
|
if(status() == Status_Critical)
|
||||||
|
qDebug("Not storing wallet cache");
|
||||||
|
else if( m_walletImpl->store(""))
|
||||||
|
qDebug("Wallet cache stored successfully");
|
||||||
|
else
|
||||||
|
qDebug("Error storing wallet cache");
|
||||||
delete m_walletImpl;
|
delete m_walletImpl;
|
||||||
m_walletImpl = NULL;
|
m_walletImpl = NULL;
|
||||||
qDebug("m_walletImpl deleted");
|
qDebug("m_walletImpl deleted");
|
||||||
|
Loading…
Reference in New Issue
Block a user