From 2de2b72af9c338b1fd99a378e7a2a597b9a94a61 Mon Sep 17 00:00:00 2001 From: crs Date: Mon, 7 Jun 2004 21:06:49 +0000 Subject: [PATCH] Failed to reset flag in X11 event queue buffer and that could cause multiple threads to access the X display connection simultaneously which causes synergy to die. --- lib/platform/CXWindowsEventQueueBuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/platform/CXWindowsEventQueueBuffer.cpp b/lib/platform/CXWindowsEventQueueBuffer.cpp index 686865b9..f1ef5551 100644 --- a/lib/platform/CXWindowsEventQueueBuffer.cpp +++ b/lib/platform/CXWindowsEventQueueBuffer.cpp @@ -119,7 +119,7 @@ CXWindowsEventQueueBuffer::waitForEvent(double dtimeout) { // we're no longer waiting for events CLock lock(&m_mutex); - m_waiting = true; + m_waiting = false; } CThread::testCancel();