blockchain: don't propagate exception past dtor

Coverity 190660
release-v0.5.0
moneromooo-monero 5 years ago committed by wowario
parent f796a2dac4
commit 7bce433b89
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -130,7 +130,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

Loading…
Cancel
Save