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 )