Skip to content

Conversation

@changyujiang
Copy link

Hope to handle lifecyclestop() in Connecting state.

@changyujiang
Copy link
Author

Sscenario:
In demo app, I pointed echoService to an invalid address, scarlet keep trying to reconnect.

Issue:
When I logged out during WaitingToTry, websocket is closed and stopped retry. While I logged out during Connecting, the log_out event is not handled and websocket connection keeps failing and retrying.

We might need to handle lifecycleStop during Connecting state, or a more graceful way to solve it.

@ilyaklyukin
Copy link

Similar issue on 0.2.x branch, but there is no connection.kt class...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants