IDO-Logging: Don't log when not connected

This commit is contained in:
Noah Hilverling 2020-10-09 15:27:05 +02:00
parent 82c4d58d14
commit d377996176
1 changed files with 3 additions and 0 deletions

View File

@ -245,6 +245,9 @@ void DbConnection::CleanUpHandler()
void DbConnection::LogStatsHandler()
{
if (!GetConnected())
return;
auto pending = m_PendingQueries.load();
auto now = Utility::GetTime();