mirror of
https://github.com/wownero/wownero.git
synced 2026-12-03 14:34:01 +01:00
Merge pull request #10921
edea850 general: replace auto_scope_leave_caller with scope_guard (jeffro256)
ACKs: selsta, tobtoht
This commit is contained in:
@@ -65,7 +65,7 @@ using namespace cryptonote;
|
||||
m_refreshCV.notify_one(); \
|
||||
boost::mutex::scoped_lock lock(m_refreshMutex); \
|
||||
boost::mutex::scoped_lock lock2(m_refreshMutex2); \
|
||||
epee::misc_utils::auto_scope_leave_caller scope_exit_handler = epee::misc_utils::create_scope_leave_handler([&](){ \
|
||||
const epee::scope_guard scope_exit_handler([&](){ \
|
||||
/* m_refreshMutex's still locked here */ \
|
||||
if (refresh_enabled) \
|
||||
startRefresh(); \
|
||||
|
||||
Reference in New Issue
Block a user