-
-
Notifications
You must be signed in to change notification settings - Fork 197
Open
Description
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:
- When internet connection is turned off, Websocket state is still being returned as Open, instead of Closed
- So, the messages are still trying to be dispatched on Websocket and after sometime, the task at this line is causing app freeze -
t.Wait(m_CancellationToken);
Please let me know how to overcome this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels