If I call ws.close while there's a reconnection setTimeout pending, sockette still tries to reconnect after the timer finishes. I don't think this is the expected behavior, especially when you try to close the websocket after a connection failure, as it keeps trying to reconnect and failing.
If I call ws.close while there's a reconnection setTimeout pending, sockette still tries to reconnect after the timer finishes. I don't think this is the expected behavior, especially when you try to close the websocket after a connection failure, as it keeps trying to reconnect and failing.