forked from lthn/blockchain
exception handling in locked_object_proxy dtor
This commit is contained in:
parent
f4893863be
commit
eed1fe2708
1 changed files with 2 additions and 0 deletions
|
|
@ -54,8 +54,10 @@ namespace epee
|
|||
{}
|
||||
~locked_object_proxy()
|
||||
{
|
||||
TRY_ENTRY();
|
||||
uint64_t lock_time = epee::misc_utils::get_tick_count() - start_lock_time;
|
||||
lock_time_watching_policy::watch_lock_time(lock_time);
|
||||
CATCH_ALL_DO_NOTHING();
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue