mirror of https://github.com/x64dbg/TitanEngine
StepInto: close thread handle after setting context
This commit is contained in:
parent
7ad288f30e
commit
97d8459101
|
|
@ -56,6 +56,7 @@ __declspec(dllexport) void TITCALL StepInto(LPVOID StepCallBack)
|
|||
GetThreadContext(hActiveThread, &myDBGContext);
|
||||
myDBGContext.EFlags |= UE_TRAP_FLAG;
|
||||
SetThreadContext(hActiveThread, &myDBGContext);
|
||||
EngineCloseHandle(hActiveThread);
|
||||
engineStepActive = true;
|
||||
engineStepCallBack = StepCallBack;
|
||||
engineStepCount = 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue