mirror of
https://github.com/monero-project/monero.git
synced 2025-12-13 11:10:02 -05:00
wallet_api: segfault on refresh fixed
This commit is contained in:
parent
9d2cb4f36c
commit
10c06ddac7
2 changed files with 9 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue