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

Bug fix: Retrieving peripherals multiple times #79

Merged
merged 1 commit into from
Feb 14, 2023

Conversation

philips77
Copy link
Member

This PR fixes an issue when a peripheral was retrieved multiple times using different central managers. The returned list consisted of multiple instances of the same CBMPeripheral object, one per each manager that retrieved it previously. All returned instances had the same UUID. Only one of them (the last one) was in fact kept in the new manager, and the other were not working.

This PR makes sure the returned list consists of unique instances.

@philips77 philips77 merged commit e1743a8 into main Feb 14, 2023
@philips77 philips77 deleted the bugfix/multiple-managers-retrieval branch February 14, 2023 15:26
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.

1 participant