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

Implement a method to destroy web workers created by IndigoService (standaloneStructService) in standalone mode #4657

Open
tiandengpan opened this issue May 20, 2024 · 0 comments

Comments

@tiandengpan
Copy link

tiandengpan commented May 20, 2024

Background
When multi instences of StructService were instantiated, each of them will register a web worker. The web worker will not be terminated even if the instances will not be used any more.
image
This will cause memory leak problems.

Solution
Implement a method to terminate the web worker automatically or manually.

Alternatives

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant