reconnecting-websocket
reconnecting-websocket copied to clipboard
How to destroy the reconnecting-websocket instance?
Call the .close() method. That should be all you need to do.
I know that. After the .close() method is called, the reconnecting-websocket instance stopped receiving new messages, but it still exists in the browser.
