endel / NativeWebSocket

🔌 WebSocket client for Unity - with no external dependencies (WebGL, Native, Android, iOS, UWP)
Other
1.27k stars 161 forks source link

App Freezing when internet is turned off but still device is connected to wi-fi network #89

Open tejasriram13 opened 1 year ago

tejasriram13 commented 1 year ago

Our app use-case contains where we are dispatching messages on Web socket every X seconds.

If we disconnect the app from internet (Using a mobile hotspot and turning off the internet source without turning off the mobile hotspot), then app is freezing after sometime.

Our observation from logs:

Please let me know how to overcome this issue.

talhaArthur commented 1 year ago

I have published a pull request that fixes this exact issue. You can try that FixedApplicationFreezeIssueOnInternetDisconnect #90