This commit is contained in:
tomoaki
2020-03-20 12:40:41 +09:00
parent 258d534009
commit 1ef0add867

View File

@@ -276,7 +276,7 @@ void MQTTGWPublishHandler::handleAggregatePublish(Client* client, MQTTGWPacket*
string* topicName = new string(pub.topic, pub.topiclen); // topic deletes topicName when the topic is deleted
Topic topic = Topic(topicName, MQTTSN_TOPIC_TYPE_NORMAL);
// ToDo: need to refacter
// ToDo: need to refactor
ClientTopicElement* elm = _gateway->getAdapterManager()->getAggregater()->getClientElement(&topic);
while ( elm != nullptr )