Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use unref on setInterval to stop tests from hanging #599

Merged
merged 1 commit into from
Jan 31, 2023

Conversation

hf
Copy link
Contributor

@hf hf commented Jan 31, 2023

In #564 setInterval started being used, however the existence of this type of object marks a NodeJS process as never finished which makes tests hang. By calling Timeout#unref() the interval will continue to run but not hang the process.

Fixes #597.

@hf hf merged commit 1d8df28 into master Jan 31, 2023
@hf hf deleted the hf/fix-use-ticker-unref-on-set-interval branch January 31, 2023 12:37
@github-actions
Copy link
Contributor

🎉 This PR is included in version 2.10.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

client hangs after upgrade to v2.10.0
2 participants