XQuartz: Don't sleep forever on exit if usleep() returns an error
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
This commit is contained in:
parent
ebcc1c214c
commit
f70a8bf371
|
@ -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…
Reference in New Issue