---------------------------------------------------------------------
| 43 | |
| 44 | //--------------------------------------------------------------------- |
| 45 | ~Handle() |
| 46 | { |
| 47 | Tools::Try([&] { |
| 48 | if (handle_ && !releaser_(handle_)) |
| 49 | { |
| 50 | LOG_ERROR << "Cannot release handler"; |
| 51 | } |
| 52 | }); |
| 53 | } |
| 54 | |
| 55 | //--------------------------------------------------------------------- |
| 56 | const T_Handle& GetValue() const |