diff --git a/src/merge_mining_client_json_rpc.cpp b/src/merge_mining_client_json_rpc.cpp index b1d4017..5ba39bc 100644 --- a/src/merge_mining_client_json_rpc.cpp +++ b/src/merge_mining_client_json_rpc.cpp @@ -100,6 +100,10 @@ MergeMiningClientJSON_RPC::~MergeMiningClientJSON_RPC() void MergeMiningClientJSON_RPC::on_timer() { + if (m_pool->stopped()) { + return; + } + MinerData data = m_pool->miner_data(); merge_mining_get_aux_block(data.height, data.prev_id, m_auxWallet); }