mirror of
https://github.com/monero-project/monero.git
synced 2025-12-23 07:29:11 -08:00
wallet_api: segfault on refresh fixed
This commit is contained in:
@@ -634,8 +634,8 @@ void WalletImpl::doRefresh()
|
||||
std::lock_guard<std::mutex> guarg(m_refreshMutex2);
|
||||
try {
|
||||
m_wallet->refresh();
|
||||
if (m_walletListener) {
|
||||
m_walletListener->refreshed();
|
||||
if (m_wallet2Callback->getListener()) {
|
||||
m_wallet2Callback->getListener()->refreshed();
|
||||
}
|
||||
} catch (const std::exception &e) {
|
||||
m_status = Status_Error;
|
||||
|
||||
Reference in New Issue
Block a user