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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user