Skip to content

Conversation

VolodymyrBg
Copy link

Add a new section to the packages/proof/README.md explaining the importance of calling terminate() on the bn128 curve instance when using getCurveFromName("bn128") from the ffjavascript package. This prevents resource leaks (such as lingering MessagePort handles) and ensures Node.js processes exit cleanly, especially in test environments. Includes a usage example for proper resource management.
Fixes #318

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

Successfully merging this pull request may close these issues.

Semaphore package leaks handles, prevents node from exiting
1 participant