mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 22:58:52 +00:00
miner: do not propagate exceptions through dtor
Coverity 161862
This commit is contained in:
parent
2e2139ffb7
commit
fb6a363050
@ -121,7 +121,8 @@ namespace cryptonote
|
|||||||
//-----------------------------------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------------------------------
|
||||||
miner::~miner()
|
miner::~miner()
|
||||||
{
|
{
|
||||||
stop();
|
try { stop(); }
|
||||||
|
catch (...) { /* ignore */ }
|
||||||
}
|
}
|
||||||
//-----------------------------------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------------------------------
|
||||||
bool miner::set_block_template(const block& bl, const difficulty_type& di, uint64_t height)
|
bool miner::set_block_template(const block& bl, const difficulty_type& di, uint64_t height)
|
||||||
|
Loading…
Reference in New Issue
Block a user