Merge pull request #3161

b932df85 Wallet: interrupt refresh thread on wallet close (xiphon)
This commit is contained in:
Alexander Blair 2020-10-19 00:11:34 -07:00
commit bedf04d08a
No known key found for this signature in database
GPG key ID: C64552D877C32479

View file

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