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

[issue] Bcrypt causing node process to not close #895

Open
Kamrulhasan12345 opened this issue Oct 14, 2021 · 1 comment
Open

[issue] Bcrypt causing node process to not close #895

Kamrulhasan12345 opened this issue Oct 14, 2021 · 1 comment

Comments

@Kamrulhasan12345
Copy link

What went wrong?

While testing a user registry script in my current api, I found that await bcrypt.hash is causing node process to not close. bcrypt.hashSync is not causing this issue. To debug, I removed the line of bcrypt hashing, and then I saw node process closing successfully. Then I tried using why-is-node-running and found that while the line is commented out, there is 1 process more than normal, and while line is there, I see 1 process less there.

How can we reproduce the error?

What did you expect to happen?

I expected node process to successfully exit

Which version of nodejs and OS?

NodeJS : 16.6.1
OS : Windows 11 (64-bit)

Thanks!

@Zer0xTJ
Copy link

Zer0xTJ commented Jun 20, 2023

same issue here

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

2 participants