diff --git a/threaddata.cpp b/threaddata.cpp index 3e21263..43bdb17 100644 --- a/threaddata.cpp +++ b/threaddata.cpp @@ -165,7 +165,8 @@ void ThreadData::doKeepAliveCheck() } else { - client->resetBuffersIfEligible(); + if (client) + client->resetBuffersIfEligible(); it++; } }