From 33ff4cec5ff7533ec725f71d357c096dfb0acb79 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Tue, 21 Nov 2006 21:23:17 +0000 Subject: Issue CloseDownDevices() in os/log.c and remove from dix/main.c. This ensures that all calls to FatalError() will shutdown the input devices. --- os/log.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'os') diff --git a/os/log.c b/os/log.c index 05e542f08..b1d628c3f 100644 --- a/os/log.c +++ b/os/log.c @@ -89,6 +89,7 @@ OR PERFORMANCE OF THIS SOFTWARE. #include /* for malloc() */ #include +#include "input.h" #include "site.h" #include "opaque.h" @@ -404,6 +405,7 @@ void AbortServer(void) { OsCleanup(TRUE); + CloseDownDevices(); AbortDDX(); fflush(stderr); if (CoreDump) -- cgit v1.2.3