mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Do less in NEWSIGNALHANDLER handler
Since there are less crashes than ever before, and there are risks with trying to do anything inside a signal handler beyond the most basic recovery stuff, we should avoid doing *anything* in here.
This commit is contained in:
parent
df28169031
commit
75b749dda8
1 changed files with 0 additions and 2 deletions
|
|
@ -447,10 +447,8 @@ FUNCNORETURN static ATTRNORETURN void signal_handler(INT32 num)
|
||||||
write_backtrace(num);
|
write_backtrace(num);
|
||||||
#endif
|
#endif
|
||||||
I_ReportSignal(num, 0);
|
I_ReportSignal(num, 0);
|
||||||
I_ShutdownSystem();
|
|
||||||
signal(num, SIG_DFL); //default signal action
|
signal(num, SIG_DFL); //default signal action
|
||||||
raise(num);
|
raise(num);
|
||||||
I_Quit();
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue