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

Process doesn't exit automatically when using groth16.fullProve() method -> issue for testing and custom project CLIs #393

Closed
Shigoto-dev19 opened this issue Jul 2, 2023 · 1 comment

Comments

@Shigoto-dev19
Copy link

Shigoto-dev19 commented Jul 2, 2023

Using "snarkjs" package leaves open MessagePorts due to Multi-threading in general. This issue perturbates tests as well as any project-specific cli commands that integrate proof generation.

  • the process doesn't exit automatically.
  • if done manually, mocha tests don't run as expected
  • CLI commands run but need "^C" to exit which makes it annoying for the user and not possible to run consecutive commands.
    image
@Shigoto-dev19 Shigoto-dev19 changed the title Process doesn't exit automatically when using "groth16.fullProve" method -> issue for testing and custom project CLIs Process doesn't exit automatically when using groth16.fullProve() method -> issue for testing and custom project CLIs Jul 2, 2023
@phated
Copy link
Contributor

phated commented Jul 3, 2023

Duplicate of #152 - this is by design. Terminate the curves that are attached to the globalThis.

@phated phated closed this as not planned Won't fix, can't repro, duplicate, stale Jul 3, 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