Skip to content

Fix SubscriberAdapter calling onStart; leads to double calls sometimes. #152

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

Merged
merged 1 commit into from
Jul 26, 2016

Conversation

akarnokd
Copy link
Member

This fixes a bug that SubscriberAdapter calls onStart, which it shouldn't because that's the role of the Observable. The bug was introduced to satisfy a test that tested the SubscriberAdapter in isolation. The fix removes the bad call and updates the test to manually call onStart, just like Observable would do.

@akarnokd akarnokd added the bug label Jul 26, 2016
@akarnokd akarnokd merged commit 3d7ec04 into 1.x Jul 26, 2016
@akarnokd akarnokd deleted the OnStartFix branch July 26, 2016 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant