Add a noir.destroy() method to noir_js
#2944
Closed
signorecello
started this conversation in
Ideas
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
We're allocating resources everytime we call
noir.init(). These will build up specially if state isn't managed correctly in the frontend.Happy Case
Add a noir.destroy() to shut down the backend to avoid using too many resources. This essentially will just call the upstream
backend.destroy()method, which in the case ofbb.jsit's exactly how it's calledAlternatives Considered
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response
All reactions