MCPcopy Create free account
hub / github.com/OpenCppCoverage/OpenCppCoverage / OnExitProcess

Method OnExitProcess

CppCoverage/ExceptionHandler.cpp:111–121  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

109
110 //-------------------------------------------------------------------------
111 void ExceptionHandler::OnExitProcess(HANDLE hProcess)
112 {
113 for (auto& pair : breakPointExceptionCode_)
114 {
115 std::vector<HANDLE>& processes = pair.second;
116 auto it = std::find(processes.begin(), processes.end(), hProcess);
117
118 if (it != processes.end())
119 processes.erase(it);
120 }
121 }
122
123 //-------------------------------------------------------------------------
124 std::wstring ExceptionHandler::GetExceptionStrFromCode(DWORD exceptionCode) const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected