-
Notifications
You must be signed in to change notification settings - Fork 266
Closed
Labels
bug 🐛Something isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Milestone
Description
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:
const foo = (process as any)._getActiveHandles();
console.log(foo);
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):
- Node.js version 20
- NPM version 9.6.4
- Solidity version N/A
Metadata
Metadata
Assignees
Labels
bug 🐛Something isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Type
Projects
Status
✔️ Done