From 42740e9c56c0dc2f979001756ece18cc2fcd24b6 Mon Sep 17 00:00:00 2001 From: IMO <18612100+imochoa@users.noreply.github.com> Date: Tue, 5 Dec 2023 14:43:56 +0100 Subject: [PATCH] bugfix: exit() is not async-signal-safe! --- src/App/Application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/Application.cpp b/src/App/Application.cpp index 7c3724aa8c..741cc97d36 100644 --- a/src/App/Application.cpp +++ b/src/App/Application.cpp @@ -1808,7 +1808,7 @@ void segmentation_fault_handler(int sig) #if defined(FC_DEBUG) abort(); #else - exit(1); + _exit(1); #endif #else switch (sig) {