Skip to content

is_available() should check the device index too - #3107

Merged
andresy merged 1 commit into
mainfrom
is-available-fix
Feb 6, 2026
Merged

andresy merged 1 commit into
mainfrom
is-available-fix

Conversation

@andresy

@andresy andresy commented Feb 6, 2026

Copy link
Copy Markdown
Member

Proposed changes

is_available() takes a device but only checks the device type - not if the device index is valid.
fix checks device index too.

@andresy
andresy requested a review from awni February 6, 2026 19:35

@angeloskath angeloskath left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🙏

@andresy
andresy merged commit ef3fbc6 into main Feb 6, 2026
16 checks passed
@andresy
andresy deleted the is-available-fix branch February 6, 2026 21:02
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