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.
This commit is contained in:
Max Kellermann 2013-10-30 23:42:05 +01:00
parent 8c01004219
commit 8c834a4ff6

View File

@ -25,7 +25,7 @@
#include <glib.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdarg.h>
#include <stdio.h>
@ -41,7 +41,7 @@ gcc_noreturn
static void
Abort()
{
exit(EXIT_FAILURE);
_exit(EXIT_FAILURE);
}
void