Issue CloseDownDevices() in os/log.c and remove from dix/main.c.

This ensures that all calls to FatalError() will shutdown the input devices.
This commit is contained in:
Alan Hourihane 2006-11-21 21:23:17 +00:00
commit 33ff4cec5f
2 changed files with 2 additions and 5 deletions

View file

@ -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)