Skip to content

Matrix stops working when "off" command issued upon deletion #126

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

Merged
merged 1 commit into from
Mar 17, 2022

Conversation

mutesplash
Copy link
Contributor

It stays non-functional until it's reconnected. This regression was introduced in PR #121 where all devices issue the "off" command to themselves upon destruction. Using the "off" command is specifically avoided in BuildHAT.shutdown() with an exception built into the type identifier for the Matrix but a similar carveout in Device.__del__() has not been made.

This regression was introduced in PR RaspberryPiFoundation#121 where all devices issue the "off" command to themselves upon destruction.  Using the "off" command is specifically avoided in `BuildHAT.shutdown()` with an exception built into the type identifier for the Matrix
@chrisruk
Copy link
Contributor

Good spot! Thanks for that

@chrisruk chrisruk merged commit 29a2917 into RaspberryPiFoundation:main Mar 17, 2022
@mutesplash mutesplash deleted the patch-10 branch March 17, 2022 12:19
mutesplash added a commit to mutesplash/python-build-hat that referenced this pull request Mar 17, 2022
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

Successfully merging this pull request may close these issues.

2 participants