These handles are managed by the system; fixes INVALID_HANDLE exceptions when the system tries to close the handles

This commit is contained in:
RaMMicHaeL 2016-03-05 14:13:57 +02:00
parent ea39130ed9
commit c283737b53
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;
} }