Merged in RaMMicHaeL/titanengine-update/patch1 (pull request #10)

Fix INVALID_HANDLE exceptions
This commit is contained in:
mrexodia 2016-03-05 13:16:50 +01:00
commit 941f391317
1 changed files with 0 additions and 3 deletions

View File

@ -241,9 +241,6 @@ __declspec(dllexport) void TITCALL DebugLoop()
{ {
if(hListThread.at(i).dwThreadId == DBGEvent.dwThreadId) //found the thread to remove 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); hListThread.erase(hListThread.begin() + i);
break; break;
} }