mirror of
https://github.com/monero-project/monero.git
synced 2025-01-19 01:04:38 +00:00
miner: do not propagate exceptions through dtor
Coverity 161862
This commit is contained in:
parent
2e2139ffb7
commit
fb6a363050
1 changed files with 2 additions and 1 deletions
|
@ -121,7 +121,8 @@ namespace cryptonote
|
|||
//-----------------------------------------------------------------------------------------------------
|
||||
miner::~miner()
|
||||
{
|
||||
stop();
|
||||
try { stop(); }
|
||||
catch (...) { /* ignore */ }
|
||||
}
|
||||
//-----------------------------------------------------------------------------------------------------
|
||||
bool miner::set_block_template(const block& bl, const difficulty_type& di, uint64_t height)
|
||||
|
|
Loading…
Reference in a new issue