1
0
Fork 0
forked from lthn/blockchain

exception handling in locked_object_proxy dtor

This commit is contained in:
sowle 2020-02-19 16:14:44 +03:00
parent f4893863be
commit eed1fe2708
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -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();
}
/*