When closing client socket with 'reconnect' enabled using socket.end() scheduled reconnect function will crash the application (~line 322 in nssocket.js, when removing listeners from socket).
If I try socket.destroy() reconnect function would recreate the internal socket and connect to server, but it shouldn't, application requested closing of socket.
When closing client socket with 'reconnect' enabled using
socket.end()scheduled reconnect function will crash the application (~line 322 in nssocket.js, when removing listeners from socket).If I try
socket.destroy()reconnect function would recreate the internal socket and connect to server, but it shouldn't, application requested closing of socket.