Merge pull request #490

53c86ad remove undefined variable error (Jaquee)
023d96b avoid dangling pointers in destructor (Jaquee)
This commit is contained in:
Riccardo Spagni
2017-02-27 22:28:47 +02:00
2 changed files with 11 additions and 9 deletions

View File

@@ -600,7 +600,9 @@ Wallet::~Wallet()
qDebug("~Wallet: Closing wallet");
delete m_history;
m_history = NULL;
//Monero::WalletManagerFactory::getWalletManager()->closeWallet(m_walletImpl);
delete m_walletImpl;
m_walletImpl = NULL;
qDebug("m_walletImpl deleted");
}