-
Notifications
You must be signed in to change notification settings - Fork 588
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
UndeliverableException in ScanOperationApi21 #609
UndeliverableException in ScanOperationApi21 #609
Conversation
Fix: replaced onError() with tryOnError() in ScanOperationApi21
Hello, |
Hi, |
Perhaps you have signed it using a different email than account that has made the commit? |
Yes that was it. Thanks |
Would you mind to create a test suite for this case in |
Correct me if I am wrong but the test you have added does pass even before your changes to I was thinking that the test case should add an |
You are right. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have looked once more and I think we're almost there. There are three inconsistent things in regards of the test — after that we can merge 👍
.../src/test/groovy/com/polidea/rxandroidble2/internal/operations/OperationScanApi21Test.groovy
Outdated
Show resolved
Hide resolved
.../src/test/groovy/com/polidea/rxandroidble2/internal/operations/OperationScanApi21Test.groovy
Show resolved
Hide resolved
.../src/test/groovy/com/polidea/rxandroidble2/internal/operations/OperationScanApi21Test.groovy
Show resolved
Hide resolved
.../src/test/groovy/com/polidea/rxandroidble2/internal/operations/OperationScanApi21Test.groovy
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect! Thank you! 🚀
And it should be available as version |
Hi,
I'm submitting this pull request because I'm receiving too many crashes from my application.
The crash can be reproduced by starting a scan and immediately disposing the observable.
To fix it, I've done a small change in order to have the tryOnError() function inside the ScanOperationApi21 class.
Thanks!