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

Revert pull request #476 #477

Merged
merged 1 commit into from
Jul 5, 2024
Merged

Conversation

marktsuchida
Copy link
Member

The check for an initialized hub was already in HubInstance.

@tlambert03 Sorry I missed this while reviewing #476. See

RequireInitialized(__func__);

which is in the code path of getInstalledDevices().

Is it possible that the above check is not functioning (with the StrictInitializationChecks feature enabled)? If so, let me know how to reproduce. It should also log a warning with the feature disabled.

The check for an initialized hub was already in HubInstance.
@tlambert03
Copy link
Contributor

Oh good catch! Sorry I missed it too!

I actually think it's more likely I hadn't set the feature flag in my usage than it is that it's not functioning.

Revert is fine, sorry for the noise

@marktsuchida
Copy link
Member Author

Not a problem!

@marktsuchida marktsuchida merged commit b666b63 into main Jul 5, 2024
3 of 4 checks passed
@marktsuchida marktsuchida deleted the fix-get-installed-devices-check branch July 5, 2024 18:55
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