fixed jump

This commit is contained in:
WolverinDEV 2019-10-27 19:11:45 +01:00
parent 5715c6e2b9
commit a75a5a0fa3

View File

@ -64,6 +64,7 @@ void create_minidump(struct _EXCEPTION_POINTERS* apExceptionInfo)
goto error_handling; goto error_handling;
} }
{
_MINIDUMP_EXCEPTION_INFORMATION ExInfo{}; _MINIDUMP_EXCEPTION_INFORMATION ExInfo{};
ExInfo.ThreadId = ::GetCurrentThreadId(); ExInfo.ThreadId = ::GetCurrentThreadId();
ExInfo.ExceptionPointers = apExceptionInfo; ExInfo.ExceptionPointers = apExceptionInfo;
@ -76,6 +77,7 @@ void create_minidump(struct _EXCEPTION_POINTERS* apExceptionInfo)
::CloseHandle(hDumpFile); ::CloseHandle(hDumpFile);
win_crash_callback(file_path, error, true); win_crash_callback(file_path, error, true);
return; return;
}
error_handling: error_handling:
if(hDumpFile) { if(hDumpFile) {