Don't send query if no connection to client.

Fixes chrome import.
This commit is contained in:
Bartosz Taudul 2019-12-19 17:23:46 +01:00
parent 65d146ddca
commit ef9bcb6696

View File

@ -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 )