mirror of https://github.com/x64dbg/TitanEngine
These handles are managed by the system; fixes INVALID_HANDLE exceptions when the system tries to close the handles
This commit is contained in:
parent
ea39130ed9
commit
c283737b53
|
|
@ -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