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

DecodeWorker never gets cleaned up #350

Open
zusorio opened this issue Jan 8, 2025 · 0 comments
Open

DecodeWorker never gets cleaned up #350

zusorio opened this issue Jan 8, 2025 · 0 comments

Comments

@zusorio
Copy link
Contributor

zusorio commented Jan 8, 2025

In initialize_workers() this.decode_worker is overwritten without checking if a worker already exists and cleaning it up.
This means that with every reconnect-attempt, an additional worker is started.
Simply adding a check for this.decode_worker and terminating it unfortunately won't be enough, as there may be cases where a worker is created but never actually set to this.decode_worker

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

No branches or pull requests

1 participant