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

[Bug]: PisugarX update_value thread does not exit when plugin unloads #339

Open
1 task done
Sniffleupagus opened this issue Feb 15, 2025 · 0 comments
Open
1 task done
Assignees
Labels
bug Something isn't working

Comments

@Sniffleupagus
Copy link
Contributor

Contact Details

No response

What happened?

I disabled the pisugarx plugin, but the background thread kept running. When I re-enabled the plugin, another background thread started and there were two of them. The threads never exit until pwnagotchi quits/restarts. Changing the while loop to check a boolean, then setting that boolean to false on exit would let thread exit.

PR submitted.

Version

2.9.5.3

3rd Party Hardware

No

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Sniffleupagus Sniffleupagus added the bug Something isn't working label Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants