1
0
Fork 0
forked from lthn/blockchain

exception safe destructor(CID 273246 (#5-1 of 5): Uncaught exception (UNCAUGHT_EXCEPT))

This commit is contained in:
cryptozoidberg 2019-11-12 21:54:02 +01:00
parent ca0ec026e1
commit 360c8bf6bd
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -607,14 +607,9 @@ namespace epee
~guarded_critical_region_t()
{
// TODO(unassigned): because one cannot forward-declare macros,
// the circular dependency created by misc_log_ex will not
// allow us to actually use these substitutions.
//NESTED_TRY_ENTRY();
TRY_ENTRY();
unlock();
//NESTED_CATCH_ENTRY(__func__);
CATCH_ENTRY(void());
}
void unlock()