reconnecting-websocket icon indicating copy to clipboard operation
reconnecting-websocket copied to clipboard

How to destroy the reconnecting-websocket instance?

Open moonCai opened this issue 5 years ago • 3 comments

moonCai avatar Jul 27 '20 09:07 moonCai

Call the .close() method. That should be all you need to do.

kohenkatz avatar Aug 06 '20 21:08 kohenkatz

I know that. After the .close() method is called, the reconnecting-websocket instance stopped receiving new messages, but it still exists in the browser. WeChat10c792dc69c599e24c04e2bdaee9f244

moonCai avatar Aug 14 '20 09:08 moonCai