mirror of
https://github.com/wownero/wownero.git
synced 2026-10-17 23:51:37 +02:00
blockchain: don't propagate exception past dtor
Coverity 190660
This commit is contained in:
@@ -173,7 +173,8 @@ Blockchain::Blockchain(tx_memory_pool& tx_pool) :
|
||||
//------------------------------------------------------------------
|
||||
Blockchain::~Blockchain()
|
||||
{
|
||||
deinit();
|
||||
try { deinit(); }
|
||||
catch (const std::exception &e) { /* ignore */ }
|
||||
}
|
||||
//------------------------------------------------------------------
|
||||
bool Blockchain::have_tx(const crypto::hash &id) const
|
||||
|
||||
Reference in New Issue
Block a user