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

maybe fix possible data race #8

Merged
merged 1 commit into from Feb 21, 2022
Merged

Conversation

oliverepper
Copy link
Contributor

I am not quite sure about this but I think the original code could miss a first state change the way it was. It is quite possible that staring CBCentral is slow enough for this to never happen, though. Please explain to me why my change is unnecessary, if that is the case.

@manolofdez
Copy link
Owner

I see no reason not to pass in the delegate if we already have it (especially if it's in the designated init).

@manolofdez manolofdez merged commit 9a873ab into manolofdez:main Feb 21, 2022
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.

None yet

2 participants