MCPcopy Create free account
hub / github.com/OpenCppCoverage/OpenCppCoverage / ~Handle

Method ~Handle

CppCoverage/Handle.hpp:45–53  ·  view source on GitHub ↗

---------------------------------------------------------------------

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

TryFunction · 0.50

Tested by

no test coverage detected