fixed jump
This commit is contained in:
parent
5715c6e2b9
commit
a75a5a0fa3
@ -64,18 +64,20 @@ void create_minidump(struct _EXCEPTION_POINTERS* apExceptionInfo)
|
|||||||
goto error_handling;
|
goto error_handling;
|
||||||
}
|
}
|
||||||
|
|
||||||
_MINIDUMP_EXCEPTION_INFORMATION ExInfo{};
|
{
|
||||||
ExInfo.ThreadId = ::GetCurrentThreadId();
|
_MINIDUMP_EXCEPTION_INFORMATION ExInfo{};
|
||||||
ExInfo.ExceptionPointers = apExceptionInfo;
|
ExInfo.ThreadId = ::GetCurrentThreadId();
|
||||||
ExInfo.ClientPointers = FALSE;
|
ExInfo.ExceptionPointers = apExceptionInfo;
|
||||||
|
ExInfo.ClientPointers = FALSE;
|
||||||
|
|
||||||
if(!pDump(GetCurrentProcess(), GetCurrentProcessId(), hDumpFile, MiniDumpNormal, &ExInfo, nullptr, nullptr)) {
|
if(!pDump(GetCurrentProcess(), GetCurrentProcessId(), hDumpFile, MiniDumpNormal, &ExInfo, nullptr, nullptr)) {
|
||||||
error = "failed to generate dump file";
|
error = "failed to generate dump file";
|
||||||
goto error_handling;
|
goto error_handling;
|
||||||
|
}
|
||||||
|
::CloseHandle(hDumpFile);
|
||||||
|
win_crash_callback(file_path, error, true);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
::CloseHandle(hDumpFile);
|
|
||||||
win_crash_callback(file_path, error, true);
|
|
||||||
return;
|
|
||||||
|
|
||||||
error_handling:
|
error_handling:
|
||||||
if(hDumpFile) {
|
if(hDumpFile) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user