mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
No need for sleep, Accept() already sleeps.
This commit is contained in:
parent
8747da8e2c
commit
8fb8e4f792
@ -82,7 +82,6 @@ void Profiler::Worker()
|
||||
if( m_shutdown.load( std::memory_order_relaxed ) ) return;
|
||||
sock = listen.Accept();
|
||||
if( sock ) break;
|
||||
std::this_thread::sleep_for( std::chrono::milliseconds( 10 ) );
|
||||
}
|
||||
|
||||
sock->Send( &m_timeBegin, sizeof( m_timeBegin ) );
|
||||
|
Loading…
Reference in New Issue
Block a user