MCPcopy Create free account
hub / github.com/Vector35/debugger / RemoveEventCallbackInternal

Method RemoveEventCallbackInternal

core/debuggercontroller.cpp:1210–1221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1208
1209
1210bool DebuggerController::RemoveEventCallbackInternal(size_t index)
1211{
1212 for (auto it = m_eventCallbacks.begin(); it != m_eventCallbacks.end(); it++)
1213 {
1214 if (it->index == index)
1215 {
1216 m_eventCallbacks.erase(it);
1217 return true;
1218 }
1219 }
1220 return false;
1221}
1222
1223
1224void DebuggerController::PostDebuggerEvent(const DebuggerEvent& event)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected