libfreerdp-core: fix deadlock in transport thread

This commit is contained in:
Marc-André Moreau 2013-11-04 14:16:59 -05:00
parent 813a26a212
commit 1f31fd9ae1

View File

@ -986,11 +986,6 @@ static void* transport_client_thread(void* arg)
nCount = 0;
handles[nCount++] = transport->stopEvent;
status = WaitForMultipleObjects(nCount, handles, FALSE, INFINITE);
if (status == WAIT_OBJECT_0)
break;
transport_get_read_handles(transport, (HANDLE*) &handles, &nCount);
status = WaitForMultipleObjects(nCount, handles, FALSE, INFINITE);