pladaria / reconnecting-websocket

Reconnecting WebSocket. For Web, React Native, cli (Node.js)
MIT License
1.22k stars 197 forks source link

.close() will trigger a reconnection after socket is closed. #51

Closed chbdetta closed 6 years ago

chbdetta commented 6 years ago

With fastClose being true, which is the default case, calling .close() after socket is closed will trigger reconnection.

pladaria commented 6 years ago

Hi, I've just released a major version of the library. It's a full rewrite and many bugs have been fixed.

Please, if you still reproduce the problem, reopen the ticket.