Skip to content

2.x: add safeguards to generate()#4932

Merged
akarnokd merged 2 commits intoReactiveX:2.xfrom
akarnokd:GenerateSafeguards
Dec 21, 2016
Merged

2.x: add safeguards to generate()#4932
akarnokd merged 2 commits intoReactiveX:2.xfrom
akarnokd:GenerateSafeguards

Conversation

@akarnokd
Copy link
Member

Flowable.generate() and Observable.generate() lacked the safeguards that were present in 1.x. This adds those and adds extra state cleanup.

Related: #4931

@akarnokd akarnokd added this to the 2.0 backlog milestone Dec 20, 2016
@codecov-io
Copy link

codecov-io commented Dec 20, 2016

Current coverage is 95.60% (diff: 95.45%)

Merging #4932 into 2.x will increase coverage by <.01%

@@                2.x      #4932   diff @@
==========================================
  Files           587        587          
  Lines         37519      37540    +21   
  Methods           0          0          
  Messages          0          0          
  Branches       5644       5652     +8   
==========================================
+ Hits          35866      35889    +23   
+ Misses          705        699     -6   
- Partials        948        952     +4   

Powered by Codecov. Last update a902d4a...eda6ed8

}

@Test
public void multipleOnComlete() {
Copy link

@smiklos smiklos Dec 20, 2016

Choose a reason for hiding this comment

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

small typo in test name

@akarnokd akarnokd merged commit 4851637 into ReactiveX:2.x Dec 21, 2016
@akarnokd akarnokd deleted the GenerateSafeguards branch December 21, 2016 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants