diff --git a/common/TracySocket.cpp b/common/TracySocket.cpp index 5152635e..44ffd266 100644 --- a/common/TracySocket.cpp +++ b/common/TracySocket.cpp @@ -224,6 +224,8 @@ bool Socket::Read( void* _buf, int len, const timeval* tv, std::function bool Socket::HasData() { + if( m_bufLeft > 0 ) return true; + struct timeval tv; memset( &tv, 0, sizeof( tv ) );