diff --git a/src/currency_core/miner.cpp b/src/currency_core/miner.cpp index ff2579e2..ff32d3e3 100644 --- a/src/currency_core/miner.cpp +++ b/src/currency_core/miner.cpp @@ -62,7 +62,9 @@ namespace currency //----------------------------------------------------------------------------------------------------- miner::~miner() { + TRY_ENTRY(); stop(); + CATCH_ENTRY_NO_RETURN(); } //----------------------------------------------------------------------------------------------------- bool miner::set_block_template(const block& bl, const wide_difficulty_type& di, uint64_t height)