mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 07:00:03 +01:00
XQuartz: xpbproxy: Don't take down the whole server on an IO error
Calls pthread_exit to prevent _XIOError from calling exit() This fixes http://xquartz.macosforge.org/trac/ticket/421 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
98f90145d7
commit
750d4e82a0
1 changed files with 2 additions and 0 deletions
|
|
@ -75,6 +75,8 @@ static int x_io_error_handler (Display *dpy) {
|
|||
exit(EXIT_FAILURE);
|
||||
#endif
|
||||
|
||||
/* Prevent _XIOError from calling exit() */
|
||||
pthread_exit(NULL);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue