Wallet: interrupt refresh thread on wallet close

This commit is contained in:
xiphon 2020-10-17 02:58:23 +00:00
parent cb1f3ad0ce
commit b932df85fd

View file

@ -1086,6 +1086,8 @@ Wallet::~Wallet()
{
qDebug("~Wallet: Closing wallet");
pauseRefresh();
m_walletImpl->stop();
m_scheduler.shutdownWaitForFinished();
delete m_addressBook;