Call _exit instead of exit from X error handlers

This is because running atexit() handlers from there is
usually bad news.
https://bugzilla.gnome.org/show_bug.cgi?id=646338
This commit is contained in:
Matthias Clasen
2011-03-31 19:59:00 -04:00
parent d80d834be8
commit 31c036b9b4
2 changed files with 2 additions and 2 deletions

View File

@ -265,7 +265,7 @@ gdk_x_io_error (Display *display)
display ? DisplayString (display) : gdk_get_display_arg_name ());
}
exit(1);
_exit (1);
}
/* X error handler. Keep the name the same because people are used to