From ef9bcb6696d22f7a27543493cba146b6c1a7a0cc Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 19 Dec 2019 17:23:46 +0100 Subject: [PATCH] Don't send query if no connection to client. Fixes chrome import. --- server/TracyWorker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index 6ad51490..5965f181 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -2781,7 +2781,7 @@ void Worker::CheckThreadString( uint64_t id ) m_data.threadNames.emplace( id, "???" ); m_pendingThreads++; - Query( ServerQueryThreadString, id ); + if( m_sock.IsValid() ) Query( ServerQueryThreadString, id ); } void Worker::CheckExternalName( uint64_t id )