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

Potential issue in process exiting #10

Open
wperrigo opened this issue Oct 19, 2017 · 2 comments
Open

Potential issue in process exiting #10

wperrigo opened this issue Oct 19, 2017 · 2 comments

Comments

@wperrigo
Copy link

When the node process is aborted (ctrl+c) it hangs permanently at Closing all connections and exiting...

To fix I added process.exit() to the close method. Is this a known issue?

@vadimpronin
Copy link
Owner

Yes, I've noticed it myself a few days ago.
Indeed process.exit() needs to added, but first the code needs some refactoring as the method close() is async and just adding process.exit() to the end of it will break all async processes going on.
I'll do this refactoring and release the new version next week.

@dormeiri
Copy link

dormeiri commented May 7, 2024

I also encountered it, raised a PR with a fix in #58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants