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
commit 1cc7b68265
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

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