You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm seeing a crash in AblyRealtime on Android. It looks like in WebSocketTransport, a timer is set that checks to see if the connection should be automatically closed. When the timer is canceled, the active implementation throws an IllegalStateException (Timer was canceled), which isn't handled and causes the app to crash. I'd like either support to help identifying how we can avoid canceling this task when closing the app, or updating the SDK so that it doesn't crash when this timer is canceled.
The text was updated successfully, but these errors were encountered:
If the timer's task execution thread terminates unexpectedly, for example, because its stop method is invoked, any further attempt to schedule a task on the timer will result in an IllegalStateException
paddybyers
changed the title
IllegalStateException cancelling transport activity timer
IllegalStateException scheduling transport activity timer
Aug 16, 2018
I'm seeing a crash in AblyRealtime on Android. It looks like in WebSocketTransport, a timer is set that checks to see if the connection should be automatically closed. When the timer is canceled, the active implementation throws an IllegalStateException (Timer was canceled), which isn't handled and causes the app to crash. I'd like either support to help identifying how we can avoid canceling this task when closing the app, or updating the SDK so that it doesn't crash when this timer is canceled.
The text was updated successfully, but these errors were encountered: