StompProtocolAndroid
StompProtocolAndroid copied to clipboard
How to stop withClientHeartbeat and withServerHeartbeat when Socket
When Socket has Error but scheduleServerHeartBeatCheck still running, I can't found method for stop scheduleServerHeartBeatCheck.
How to stop it, please help me! It crash when rawSend function call check!
I found that observing the lifecycle and calling disconnect() on the stomp client on socket close event prevents the rawSend crash.