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

Threads not stopped automatically #370

Closed
codeblooded1729 opened this issue May 16, 2023 · 1 comment
Closed

Threads not stopped automatically #370

codeblooded1729 opened this issue May 16, 2023 · 1 comment

Comments

@codeblooded1729
Copy link

I have observed that snarkjs.groth16.prove() and snarkjs.groth16.verify() do not, by default, terminate the threads spawned by stuff like buildBn128() which is called internally. But looks like all that needs to be done is call curve.terminate() after the job of curve is done. Is there any other solution provided by the library.

@phated
Copy link
Contributor

phated commented May 18, 2023

Duplicate of #152 - this is by design.

@phated phated closed this as completed May 18, 2023
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