mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-09 19:10:38 +00:00
(svn r17463) -Change (r17453): Retrigger the abort signal after writing the crashlog, so the next one can catch it again (e.g. to write a core dump).
This commit is contained in:
parent
fe8d571585
commit
bb5a31faab
@ -153,14 +153,14 @@ void CDECL HandleCrash(int signum)
|
||||
if (GamelogTestEmergency()) {
|
||||
printf("A serious fault condition occured in the game. The game will shut down.\n");
|
||||
printf("As you loaded an emergency savegame no crash information will be generated.\n");
|
||||
exit(3);
|
||||
abort();
|
||||
}
|
||||
|
||||
CrashLogUnix log(signum);
|
||||
log.MakeCrashLog();
|
||||
|
||||
CrashLog::AfterCrashLogCleanup();
|
||||
exit(2);
|
||||
abort();
|
||||
}
|
||||
|
||||
/* static */ void CrashLog::InitialiseCrashLog()
|
||||
|
Loading…
Reference in New Issue
Block a user