1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-19 20:23:54 +00:00

Maybe fix Windows freeze catcher

It looks like it's never actually been capable of creating a minidump since the original MR was merged. It worked briefly, and then apparently I managed to dissappear an important function call when rearranging things.
This commit is contained in:
AnyOldName3 2023-03-04 00:28:22 +00:00
parent 88567cd363
commit 5b3e9e15ee

View file

@ -211,6 +211,7 @@ namespace Crash
if (mFreezeAbort)
{
handleCrash();
TerminateProcess(mAppProcessHandle, 0xDEAD);
std::string message = "OpenMW appears to have frozen.\nCrash log saved to '"
+ std::string(mShm->mStartup.mLogFilePath)