Add a noir.destroy()
method to noir_js
#2944
Closed
signorecello
started this conversation in
Ideas
Replies: 1 comment
-
Closed with #3105. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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.js
it'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
Beta Was this translation helpful? Give feedback.
All reactions