mirror of https://github.com/x64dbg/TitanEngine
Merged in RaMMicHaeL/titanengine-update/patch1 (pull request #10)
Fix INVALID_HANDLE exceptions
This commit is contained in:
commit
941f391317
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue