mirror of
https://github.com/qt/qtmqtt.git
synced 2026-10-25 16:16:26 +00:00
When iterating through the list of active subscriptions to emit the messageReceived signal, the handler can add further subscriptions, which renders the iterator to be invalid. Instead store the subscriptions in a list, which are supposed to receive the signal and only act upon these. Fixes: QTBUG-106203 Pick-to: 6.4 6.2 5.15 Change-Id: I790a6081c332e82da8e53b15df8ad8494f35cc46 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io> |
||
|---|---|---|
| .. | ||
| cmake | ||
| conformance | ||
| qmqttclient | ||
| qmqttconnectionproperties | ||
| qmqttcontrolpacket | ||
| qmqttlastwillproperties | ||
| qmqttpublishproperties | ||
| qmqttsubscription | ||
| qmqttsubscriptionproperties | ||
| qmqtttopicfilter | ||
| qmqtttopicname | ||
| CMakeLists.txt | ||