novastone-media / MQTT-Client-Framework

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

Crashing on [MQTTSession close] #487

Closed pawan4476 closed 6 years ago

pawan4476 commented 6 years ago

When user wants to logout we are trying to close the mqtt connection, but we are facing a crash. Please any one can help?

jcavar commented 6 years ago

Can you please provide more info about crash?

pawan4476 commented 6 years ago

when i try to close the session by [MQTTSession close] on logout, app is crashing by throwing a error [MQTTSession tell] Crashed: com.apple.main-thread EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x000000004604b088

nnmanhit commented 6 years ago

Maybe it's duplicated with this? https://github.com/novastone-media/MQTT-Client-Framework/issues/325

And I have fixed it already.

jcavar commented 6 years ago

Ok, I will close it then. Thank you.