Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@nitaybz
Copy link
Contributor

@nitaybz nitaybz commented Jun 4, 2021

When the socket got closed unexpectedly, it would leave it hang without reconnecting.
By adding the 'close' event listener I made sure the client will be reset and reconnect again in the next request by the 'ensureConnection' function.

@nitaybz nitaybz requested a review from jupe as a code owner June 4, 2021 07:51
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 4, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@jupe
Copy link
Owner

jupe commented Jun 4, 2021

good fix - thanks! :)

@jupe jupe merged commit 2e1f390 into jupe:master Jun 4, 2021
@jupe jupe added the bugfix label Jun 4, 2021
@nitaybz
Copy link
Contributor Author

nitaybz commented Jun 6, 2021

thanks, can you please publish to npm?

@jupe jupe mentioned this pull request Jun 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants