Open angelix opened 6 years ago
Hi @angelix , I am not sure if it creates new connection everytime.... I am sure, it will close the previous socket (The reason why new one is created). Still, will look into it. Thank you for the PR.
My server had a new connection for every connectAsync from the client. If you take a look at the code, it just replace ws with new Socket every time. Thanks @sacOO7
Hey, will be looking into it. Little busy those days ...
Did you have the time to test this @sacOO7 ? Thanks
Hi @sacOO7 , When can you release a new version of the lib with the fixes? Thanks
Hi @sacOO7 , When can you release a new version of the lib with the fixes? Thanks
Hi @sacOO7 It's being over 6 months for this PR to get merged or release a new version. Do you need any help?
@sacOO7 ? :(
Hey @angelix , will be looking into this
For every call to connect/connectAsync there is a new ws socket created, leaving the previous one connected but orphaned. This PR, allow only one instance of Socket to be actively connected at any time.