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

Fixed CharacteristicLongWriteOperation repetition logic #465

Merged
merged 1 commit into from
Aug 3, 2018

Conversation

dariuszseweryn
Copy link
Owner

@dariuszseweryn dariuszseweryn commented Aug 3, 2018

It was susceptible to a race condition due to a repetition observable using .takeUntil() which emits a value before checking the complete condition. This could lead to an excess characteristic write being executed that was not secured on a connection queue leading to next operation being rejected.
Fixes #463

It was susceptible to a race condition due to a repetition observable using `.takeUntil()` which emits a value before checking the complete condition. This could lead to an excess characteristic write being executed was not secured on a connection queue.
Fixes #463
@dariuszseweryn dariuszseweryn added the bug Bug that is caused by the library label Aug 3, 2018
@dariuszseweryn dariuszseweryn self-assigned this Aug 3, 2018
@dariuszseweryn dariuszseweryn requested a review from uKL August 3, 2018 15:07
@dariuszseweryn dariuszseweryn merged commit 2fa21d6 into master Aug 3, 2018
@dariuszseweryn dariuszseweryn deleted the fix/long_write_repetition_race_condition branch August 3, 2018 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug that is caused by the library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant