Commit 8c834a4f authored by Max Kellermann's avatar Max Kellermann

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.
parent 8c010042
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <glib.h> #include <glib.h>
#include <stdlib.h> #include <unistd.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
...@@ -41,7 +41,7 @@ gcc_noreturn ...@@ -41,7 +41,7 @@ gcc_noreturn
static void static void
Abort() Abort()
{ {
exit(EXIT_FAILURE); _exit(EXIT_FAILURE);
} }
void void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment