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.
This commit is contained in:
parent
70e2d2b89a
commit
2de2b72af9
|
@ -119,7 +119,7 @@ CXWindowsEventQueueBuffer::waitForEvent(double dtimeout)
|
||||||
{
|
{
|
||||||
// we're no longer waiting for events
|
// we're no longer waiting for events
|
||||||
CLock lock(&m_mutex);
|
CLock lock(&m_mutex);
|
||||||
m_waiting = true;
|
m_waiting = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
CThread::testCancel();
|
CThread::testCancel();
|
||||||
|
|
Loading…
Reference in New Issue