[monero-project/monero] simplewallet: Simplify LOCK_IDLE_SCOPE macro (#4249)

moneromooo-monero commented on this pull request.

> boost::unique_lock lock(m_idle_mutex); \
— epee::misc_utils::auto_scope_leave_caller scope_exit_handler = epee::misc_utils::create_scope_leave_handler([&](){ \
— m_auto_refresh_enabled.store(auto_refresh_enabled, std::memory_order_relaxed); \
— })
+ m_idle_cond.notify_one();

Your change doesn’t fix it.

Добавить комментарий