Skip to content

Conversation

@akarnokd
Copy link
Member

This PR fixes the hang in Completable.concat(Observable) and Completable.merge(Observable) mainly due to using subscribe instead of unsafeSubscribe. The underlying problem was that SafeSubscriber unsubscribed the dowstream consumer which cancelled the outstanding elements of range.

In addition, I've upgraded the concat(Observable) to use an up-to-date concatenation algorithm and more compact memory footprint.

@codecov-io
Copy link

codecov-io commented Nov 14, 2016

Current coverage is 84.28% (diff: 91.66%)

Merging #4849 into 1.x will increase coverage by 0.14%

@@                1.x      #4849   diff @@
==========================================
  Files           285        285          
  Lines         17763      17765     +2   
  Methods           0          0          
  Messages          0          0          
  Branches       2691       2691          
==========================================
+ Hits          14947      14974    +27   
+ Misses         1956       1938    -18   
+ Partials        860        853     -7   

Powered by Codecov. Last update dc63e53...fb3d0e8

@akarnokd akarnokd merged commit 745a922 into ReactiveX:1.x Nov 14, 2016
@akarnokd akarnokd deleted the CompletableConcatFix branch November 14, 2016 19:42
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.

3 participants