mirror of
https://github.com/OpenMW/openmw.git
synced 2025-10-17 23:16:38 +00:00
Merge branch 'maybe-fix-freeze-catcher' into 'master'
Fix Windows freeze catcher See merge request OpenMW/openmw!2795 (cherry picked from commitafa6643c6e
)5b3e9e15
Maybe fix Windows freeze catcher
This commit is contained in:
parent
0fb7d93219
commit
bb3ef08ac5
1 changed files with 1 additions and 0 deletions
|
@ -205,6 +205,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) + "'.\nPlease report this to https://gitlab.com/OpenMW/openmw/issues !";
|
||||
SDL_ShowSimpleMessageBox(0, "Fatal Error", message.c_str(), nullptr);
|
||||
|
|
Loading…
Reference in a new issue