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 bug for battery powered devices & attempt to fix memory leak #271

Merged
merged 15 commits into from
Feb 25, 2023

Conversation

brefra
Copy link
Contributor

@brefra brefra commented Feb 8, 2023

Fix potential crash of submit thread when queued message of SED (battery powered devices) are send.
Attempt to fix memory leak reported at plugwise/plugwise_usb-beta#10 by introducing thread locking.

My setup, running this change, is stable for two day's now so looks promising....

@codecov
Copy link

codecov bot commented Feb 8, 2023

Codecov Report

Merging #271 (6d97592) into main (5372257) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      plugwise/plugwise-beta#271   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines         2663      2663           
=========================================
  Hits          2663      2663           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@brefra brefra requested a review from bouwew February 8, 2023 21:01
Copy link
Contributor

@bouwew bouwew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good to me!

Please raise the version to v0.27.7 both in the files CHANGELOG.md and pyproject.toml

@bouwew
Copy link
Contributor

bouwew commented Feb 9, 2023

I'll create a plugwise-beta test-release first.

@bouwew
Copy link
Contributor

bouwew commented Feb 9, 2023

@bouwew
Copy link
Contributor

bouwew commented Feb 15, 2023

@brefra are there any more changes coming? If not, should we merge and release this update?

@bouwew
Copy link
Contributor

bouwew commented Feb 25, 2023

Let's release to get this improvement out to more users.

@CoMPaTech CoMPaTech added bug Something isn't working enhancement New feature or request labels Feb 25, 2023
@CoMPaTech
Copy link
Member

See

"builtins.BaseException",

@bouwew bouwew merged commit 5f68cfc into main Feb 25, 2023
@bouwew bouwew deleted the fix_memory_leak branch February 25, 2023 14:55
@CoMPaTech
Copy link
Member

🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants