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: make bridge and device initialization more robust #176

Merged
merged 2 commits into from
Jan 24, 2024

Conversation

ianshade
Copy link
Member

This improves on how we handle reconfiguring devices and re-connection of Bridges.

The issue from #64 is definitely less severe. In some rare cases I the list still does not populate immediately, but pressing the "Refresh all resources" button solves it.
This also fixes an issue that caused an incoming Bridge to not accept any settings changes after re-connecting due to storing references to the already disconnected instances with that same Id.
This should make removal of devices more robust by using the AbortController, however there are still some edge cases there.

@ianshade ianshade requested a review from nytamin October 26, 2023 11:17
@sonarcloud
Copy link

sonarcloud bot commented Oct 26, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@nytamin nytamin merged commit d0c4681 into develop Jan 24, 2024
8 checks passed
@nytamin nytamin deleted the fix/bridge-and-device-initialization branch January 24, 2024 09:07
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