UI freezes when internet connection is bad

Animations and events freeze until internet connectivity is restored or lost completely, then all events start firing and animations finish.

I’m seeing this with the photon chat module when it tries to connect to the chat servers but only when the internet is spotty which can happen if you are moving into an elevator for instance.  

I tried wrapping the connection calls in a timer.performWithDelay call to move it into its own thread but that doesn’t seem to work.

Anyone have any tips on fixing or troubleshooting this issue?

Please don’t ask the same question twice in different threads.  Also please allow the community time to answer your question before you bump a thread that doesn’t have answers yet (at least 24 hours).

For those interested in answer, please respond here:

https://forums.coronalabs.com/topic/58855-game-freezes-when-trying-to-connect-to-photon-chat-when-internet-connectivity-is-bad/

Thanks

Rog

Please don’t ask the same question twice in different threads.  Also please allow the community time to answer your question before you bump a thread that doesn’t have answers yet (at least 24 hours).

For those interested in answer, please respond here:

https://forums.coronalabs.com/topic/58855-game-freezes-when-trying-to-connect-to-photon-chat-when-internet-connectivity-is-bad/

Thanks

Rog