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

fix(AsyncSubject) some cases don't behave correctly #2280

Merged
merged 4 commits into from
Jan 27, 2017

Conversation

victorg1991
Copy link
Contributor

Description:
I think It can be some wrong behaviours in the current AsyncSubject:

  • AsyncSubject can emit complete event after the subject has finished with an error
  • AsyncSubject can emit an error event after the subject is completed

This PR fixes that wrong cases.

If this is the intended behaviour please let me know, I check the http://reactivex.io/documentation/subject.html web and other implementations first.

I hope this will be helpful :)

Related issue (if exists):

@victorg1991 victorg1991 changed the title fix(AsyncSubject) fix(AsyncSubject) some cases don't behave correctly Jan 14, 2017
@coveralls
Copy link

coveralls commented Jan 14, 2017

Coverage Status

Coverage increased (+0.001%) to 97.698% when pulling c3bf6b4 on victorg1991:fix-asyncsubject into dd925a8 on ReactiveX:master.

Copy link
Member

@kwonoj kwonoj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks ok to me.

@jayphelps jayphelps merged commit c70a09d into ReactiveX:master Jan 27, 2017
@lock
Copy link

lock bot commented Jun 6, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 6, 2018
@victorg1991 victorg1991 deleted the fix-asyncsubject branch June 6, 2018 15:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants