Merge pull request #186

b7c6706 Wallet: fix history leak on destruction (moneromooo.monero)
This commit is contained in:
Riccardo Spagni
2016-11-24 12:29:55 +02:00

View File

@@ -427,5 +427,6 @@ Wallet::Wallet(Bitmonero::Wallet *w, QObject *parent)
Wallet::~Wallet()
{
qDebug("~Wallet: Closing wallet");
delete m_history;
Bitmonero::WalletManagerFactory::getWalletManager()->closeWallet(m_walletImpl);
}