Commit dfe2e6d7 authored by Ian Craggs's avatar Ian Craggs

Response list not cleaned properly

parent 07ed16ca
......@@ -1315,6 +1315,7 @@ void MQTTAsync_removeResponsesAndCommands(MQTTAsyncs* m)
count++;
}
}
ListEmpty(m->responses);
Log(TRACE_MINIMUM, -1, "%d responses removed for client %s", count, m->c->clientID);
/* remove commands in the command queue relating to this client */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment