mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 16:27:39 +00:00
blockchain: don't propagate exception past dtor
Coverity 190660
This commit is contained in:
parent
42abea7f72
commit
a67b77a9eb
1 changed files with 2 additions and 1 deletions
|
@ -173,7 +173,8 @@ Blockchain::Blockchain(tx_memory_pool& tx_pool) :
|
||||||
//------------------------------------------------------------------
|
//------------------------------------------------------------------
|
||||||
Blockchain::~Blockchain()
|
Blockchain::~Blockchain()
|
||||||
{
|
{
|
||||||
deinit();
|
try { deinit(); }
|
||||||
|
catch (const std::exception &e) { /* ignore */ }
|
||||||
}
|
}
|
||||||
//------------------------------------------------------------------
|
//------------------------------------------------------------------
|
||||||
bool Blockchain::have_tx(const crypto::hash &id) const
|
bool Blockchain::have_tx(const crypto::hash &id) const
|
||||||
|
|
Loading…
Reference in a new issue