From 8c834a4ff646ba97a397abb8b7f2ab32224b7244 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 30 Oct 2013 23:42:05 +0100 Subject: system/FatalError: use _exit() instead of exit() Skip the global destructors. We don't need them here - we bail out as quickly as we can. --- src/system/FatalError.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/system/FatalError.cxx b/src/system/FatalError.cxx index 2752440f8..85384c498 100644 --- a/src/system/FatalError.cxx +++ b/src/system/FatalError.cxx @@ -25,7 +25,7 @@ #include -#include +#include #include #include @@ -41,7 +41,7 @@ gcc_noreturn static void Abort() { - exit(EXIT_FAILURE); + _exit(EXIT_FAILURE); } void -- cgit v1.2.3