-------------------------------------------------------------------------
| 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) |
nothing calls this directly
no outgoing calls
no test coverage detected