diff --git a/TitanEngine/TitanEngine.Debugger.DebugLoop.cpp b/TitanEngine/TitanEngine.Debugger.DebugLoop.cpp index 8abbe98..51e427f 100644 --- a/TitanEngine/TitanEngine.Debugger.DebugLoop.cpp +++ b/TitanEngine/TitanEngine.Debugger.DebugLoop.cpp @@ -241,9 +241,6 @@ __declspec(dllexport) void TITCALL DebugLoop() { if(hListThread.at(i).dwThreadId == DBGEvent.dwThreadId) //found the thread to remove { - //TODO: close handle? - EngineCloseHandle(hListThread.at(i).hThread); - hListThread.erase(hListThread.begin() + i); break; }