From c23b5379fd9f4da7bcd627e973abb6868274fc75 Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 7 Jul 2010 11:47:39 +0000 Subject: Solved possible dead-lock exiting --- xorg-server/hw/xwin/InitOutput.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xorg-server/hw/xwin/InitOutput.c') diff --git a/xorg-server/hw/xwin/InitOutput.c b/xorg-server/hw/xwin/InitOutput.c index 14d88894b..6dc58aeb1 100644 --- a/xorg-server/hw/xwin/InitOutput.c +++ b/xorg-server/hw/xwin/InitOutput.c @@ -170,6 +170,7 @@ winClipboardShutdown (void) /* Synchronously destroy the clipboard window */ if (g_hwndClipboard != NULL) { + g_fClipboardStarted=FALSE; /* This is to avoid dead-locls caused by the clipboard thread still doing some stuff */ SendMessage (g_hwndClipboard, WM_DESTROY, 0, 0); /* NOTE: g_hwndClipboard is set to NULL in winclipboardthread.c */ } -- cgit v1.2.3