win32: fix for 100% cpu, reset event
This commit is contained in:
parent
4937d74c45
commit
7a68fcf626
@ -390,6 +390,9 @@ int transport_check_fds(rdpTransport** ptransport)
|
||||
STREAM* received;
|
||||
rdpTransport* transport = *ptransport;
|
||||
|
||||
#ifdef _WIN32
|
||||
WSAResetEvent(transport->tcp->wsa_event);
|
||||
#endif
|
||||
wait_obj_clear(transport->recv_event);
|
||||
|
||||
status = transport_read_nonblocking(transport);
|
||||
|
Loading…
Reference in New Issue
Block a user