forked from lthn/blockchain
exception safe destructor(CID 273246 (#5-1 of 5): Uncaught exception (UNCAUGHT_EXCEPT))
This commit is contained in:
parent
ca0ec026e1
commit
360c8bf6bd
1 changed files with 2 additions and 7 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue