blockchain: don't propagate exception past dtor

Coverity 190660
pull/200/head
moneromooo-monero 5 years ago
parent 42abea7f72
commit a67b77a9eb
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -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

Loading…
Cancel
Save