-
Notifications
You must be signed in to change notification settings - Fork 237
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
Semaphore package leaks handles, prevents node from exiting #318
Comments
Using |
Hello @dcposch! It seems to be related to |
This issue is related to |
is it solved or not? |
Hi @Chirag-S-Kotian, we are actually going to close this issue. Devs can use
We'll add documentation to explain how to solve this issue. Re: #897 |
Describe the bug
My Mocha unit tests hang unless I specify
--exit
to kill the test process after each suite.It looks like this may be because Semaphore leaks some resources.
To Reproduce
Write any test or script that verifies a Semaphore proof. At the end, add:
You'll see that this includes a bunch of mysterious
MessagePort
handles.Expected behavior
Should show exactly two handles, corresponding to
stdin/stdout
.Technologies (please complete the following information):
The text was updated successfully, but these errors were encountered: