mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-10 21:23:27 +01:00
Merge pull request #5048
a67b77a9
blockchain: don't propagate exception past dtor (moneromooo-monero)
This commit is contained in:
commit
54eb3318e2
@ -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…
Reference in New Issue
Block a user