Skip to content

Fix the destructor ioe device assumption #15

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dannystaple
Copy link
Contributor

This fixes #13 .
Ensuring that the member variable ioe exists, but is set to None, means the destructor will not try to dereference the ioe variable it when it hasn't yet been created.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 16140065541

Details

  • 3 of 3 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.3%) to 56.467%

Totals Coverage Status
Change from base Build 16117392398: 0.3%
Covered Lines: 179
Relevant Lines: 317

💛 - Coveralls

@dannystaple
Copy link
Contributor Author

This is going to need #14 or similar to pass checks.

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.

Destructor for InventorHATMini assumes ioe device created
2 participants