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

Fix: move battery's lock_guard to updateSettings() #566

Merged
merged 1 commit into from
Dec 29, 2023

Conversation

schlimmchen
Copy link
Member

the updateSettings method is called from the web server's context and therefore accesses _upProvider in a different context than the TaskScheduler. the lock_guard needs to protect _upProvider.

the updateSettings method is called from the web server's context and
therefore accesses _upProvider in a different context than the
TaskScheduler. the lock_guard needs to protect _upProvider.
@helgeerbe
Copy link
Collaborator

Thanks, for finding that!

@helgeerbe helgeerbe merged commit d769cdd into hoylabs:development Dec 29, 2023
8 checks passed
@schlimmchen schlimmchen deleted the fix-battery-lock-guard branch December 29, 2023 11:00
Copy link

github-actions bot commented Apr 4, 2024

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants