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.
depth-refraction
AnyOldName3 2 years ago
parent 88567cd363
commit 5b3e9e15ee

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

Loading…
Cancel
Save