StompProtocolAndroid icon indicating copy to clipboard operation
StompProtocolAndroid copied to clipboard

How to stop withClientHeartbeat and withServerHeartbeat when Socket

Open hainguyendn opened this issue 6 years ago • 1 comments

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!

hainguyendn avatar Jan 09 '19 04:01 hainguyendn

I found that observing the lifecycle and calling disconnect() on the stomp client on socket close event prevents the rawSend crash.

squinney avatar Mar 01 '19 06:03 squinney