From c283737b53b46cf0ca309bb06f5078c1561939fc Mon Sep 17 00:00:00 2001 From: RaMMicHaeL Date: Sat, 5 Mar 2016 14:13:57 +0200 Subject: [PATCH] These handles are managed by the system; fixes INVALID_HANDLE exceptions when the system tries to close the handles --- TitanEngine/TitanEngine.Debugger.DebugLoop.cpp | 3 --- 1 file changed, 3 deletions(-) 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; }