novastone-media / MQTT-Client-Framework

iOS, macOS, tvOS native ObjectiveC MQTT Client Framework
Other
1.84k stars 466 forks source link

duplicated messages delivered on an enviroment with open and close net frequently #588

Open Nododo opened 3 years ago

Nododo commented 3 years ago

https://github.com/novastone-media/MQTT-Client-Framework/issues/169#issue-164138867

i meet the same problem,it happens by open or close net frequently

i see the above issus show send message not in main thread,but the log before

[self.transport send:wireFormat];

shows always in main thread,but it can also happen

i use the latest version, so anyone can help me?

thanks!

Nododo commented 3 years ago

one more:

if connect with vpn it happens more frequently