kitakkun / back-in-time-plugin

Kotlin Compiler Plugin to make your program back-in-time debuggable.
Apache License 2.0
34 stars 1 forks source link

Automatically reconnect after being disconnected from the server #35

Closed kitakkun closed 5 months ago

kitakkun commented 5 months ago

Currently, the WebSocket client doesn't reconnect automatically after being disconnected from the server.

This PR fixes this issue by waiting to close a session and calling connect again. We can enable the auto-reconnect feature by passing automaticReconnect to the BackInTimeWebSocketClientConnector.

Note that the default value for automaticReconnect is true.