forked from Public/monero-gui
Wallet: interrupt refresh thread on wallet close
This commit is contained in:
@@ -1086,6 +1086,8 @@ Wallet::~Wallet()
|
|||||||
{
|
{
|
||||||
qDebug("~Wallet: Closing wallet");
|
qDebug("~Wallet: Closing wallet");
|
||||||
|
|
||||||
|
pauseRefresh();
|
||||||
|
m_walletImpl->stop();
|
||||||
m_scheduler.shutdownWaitForFinished();
|
m_scheduler.shutdownWaitForFinished();
|
||||||
|
|
||||||
delete m_addressBook;
|
delete m_addressBook;
|
||||||
|
|||||||
Reference in New Issue
Block a user