Wednesday, 13 September 2023

Remove a worklet after use

My program creates a lot of worklets from code generated at runtime. They are only used for a short amount of time. Is there a way to remove or unregister old, unused worklets to regain memory? Or is this done automatically by GC?

https://developer.mozilla.org/en-US/docs/Web/API/Worklet/addModule



from Remove a worklet after use

No comments:

Post a Comment