From 75b749dda8cc852b0dd2de24971a67f29b6e66d5 Mon Sep 17 00:00:00 2001 From: Eidolon Date: Wed, 8 May 2024 20:00:24 -0500 Subject: [PATCH] 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. --- src/sdl/i_system.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/sdl/i_system.cpp b/src/sdl/i_system.cpp index 49b5f0604..3aca19c07 100644 --- a/src/sdl/i_system.cpp +++ b/src/sdl/i_system.cpp @@ -447,10 +447,8 @@ FUNCNORETURN static ATTRNORETURN void signal_handler(INT32 num) write_backtrace(num); #endif I_ReportSignal(num, 0); - I_ShutdownSystem(); signal(num, SIG_DFL); //default signal action raise(num); - I_Quit(); } #endif