mirror of https://github.com/x64dbg/TitanEngine
Do not silently swallow exceptions when detaching
This commit is contained in:
parent
e76867196e
commit
451c85e465
|
|
@ -624,7 +624,7 @@ __declspec(dllexport) bool TITCALL DetachDebuggerEx(DWORD ProcessId)
|
||||||
SetThreadContext(hActiveThread, &myDBGContext);
|
SetThreadContext(hActiveThread, &myDBGContext);
|
||||||
EngineCloseHandle(hActiveThread);
|
EngineCloseHandle(hActiveThread);
|
||||||
}
|
}
|
||||||
ContinueDebugEvent(DBGEvent.dwProcessId, DBGEvent.dwThreadId, DBG_CONTINUE);
|
ContinueDebugEvent(DBGEvent.dwProcessId, DBGEvent.dwThreadId, DBGCode);
|
||||||
ThreaderResumeProcess();
|
ThreaderResumeProcess();
|
||||||
return DetachDebugger(ProcessId);
|
return DetachDebugger(ProcessId);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue