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

Ensure transport is closed on shutdown IO errors #84

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

glopesdev
Copy link
Member

@glopesdev glopesdev commented Mar 18, 2024

At shutdown, the device should usually be sent into Standby mode before closing the serial connection. However, if this transmission fails due to IO issues (e.g. a cable has been disconnected), we should still make sure we close the connection.

@glopesdev glopesdev added the fix Pull request that fixes an issue label Mar 18, 2024
@glopesdev glopesdev merged commit eae1176 into main Mar 25, 2024
1 check passed
@glopesdev glopesdev deleted the transport-dispose branch March 25, 2024 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Pull request that fixes an issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant