From a6468b6b6e1b5f083fb6d3a2971d89e7f40ad2ce Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 4 Apr 2020 21:08:13 +0200 Subject: [PATCH] Sleep when clearing queues if listen port is occupied. --- client/TracyProfiler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 56c1423d..54825105 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -1253,6 +1253,7 @@ void Profiler::Worker() } ClearQueues( token ); + std::this_thread::sleep_for( std::chrono::milliseconds( 10 ) ); } }