mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 11:40:12 +01:00
XQuartz: Don't sleep forever on exit if usleep() returns an error
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
(cherry picked from commit f70a8bf371)
This commit is contained in:
parent
c82a90815c
commit
c6fd9c11f7
1 changed files with 1 additions and 1 deletions
|
|
@ -936,7 +936,7 @@ extern char *bundle_id_prefix;
|
||||||
|
|
||||||
- (void) applicationWillTerminate:(NSNotification *)aNotification
|
- (void) applicationWillTerminate:(NSNotification *)aNotification
|
||||||
{
|
{
|
||||||
unsigned remain;
|
int remain;
|
||||||
[X11App prefs_synchronize];
|
[X11App prefs_synchronize];
|
||||||
|
|
||||||
/* shutdown the X server, it will exit () for us. */
|
/* shutdown the X server, it will exit () for us. */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue