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 port_name() for disconnected ports in WinMM backend #84

Open
Boddlnagg opened this issue Apr 11, 2021 · 0 comments
Open

Fix port_name() for disconnected ports in WinMM backend #84

Boddlnagg opened this issue Apr 11, 2021 · 0 comments
Labels

Comments

@Boddlnagg
Copy link
Owner

As identified in #35 (comment), the implementation of port_name currently does not behave according to the documentation with regard to an error being returned when the port is no longer available:

An error will be returned when the port is no longer valid (e.g. the respective device has been disconnected).

We currently don't detect that situation, because we simply return the stored port name. An additional check needs to be added.

@Boddlnagg Boddlnagg added the bug label Apr 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant