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

Method ~Process

CppCoverage/Process.cpp:69–81  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

67
68 //-------------------------------------------------------------------------
69 Process::~Process()
70 {
71 if (processInformation_)
72 {
73 auto hProcess = processInformation_->hProcess;
74 if (hProcess && !CloseHandle(hProcess))
75 LOG_ERROR << "Cannot close process handle";
76
77 auto hThread = processInformation_->hThread;
78 if (hThread && !CloseHandle(hThread))
79 LOG_ERROR << "Cannot close thread handle";
80 }
81 }
82
83 //-------------------------------------------------------------------------
84 void Process::Start(DWORD creationFlags)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected