mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 00:07:51 +00:00
Merge pull request #186
b7c6706
Wallet: fix history leak on destruction (moneromooo.monero)
This commit is contained in:
commit
1cc7b68265
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue