diff options
author | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-11-21 21:23:17 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-11-21 21:23:17 +0000 |
commit | 33ff4cec5ff7533ec725f71d357c096dfb0acb79 (patch) | |
tree | 1138cf2c7c67dbd917ecacb3062aeca2c71a70a8 /os | |
parent | ca2874b273232d9f51881b1cd754ed6847bfaf47 (diff) |
Issue CloseDownDevices() in os/log.c and remove from dix/main.c.
This ensures that all calls to FatalError() will shutdown the input devices.
Diffstat (limited to 'os')
-rw-r--r-- | os/log.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -89,6 +89,7 @@ OR PERFORMANCE OF THIS SOFTWARE. #include <stdlib.h> /* for malloc() */ #include <errno.h> +#include "input.h" #include "site.h" #include "opaque.h" @@ -404,6 +405,7 @@ void AbortServer(void) { OsCleanup(TRUE); + CloseDownDevices(); AbortDDX(); fflush(stderr); if (CoreDump) |