Skip to content

Commit

Permalink
fix use of rxjava internals
Browse files Browse the repository at this point in the history
  • Loading branch information
akarnokd committed Oct 29, 2016
1 parent d840fb7 commit 013227b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/hu/akarnokd/rxjava2/async/AsyncFlowable.java
Original file line number Diff line number Diff line change
Expand Up @@ -1764,7 +1764,7 @@ public void accept(Subscription s) throws Exception {
});
d.lazySet(ls);

RxJavaPlugins.onAssembly(new FlowableSubscribeOn<T>((Publisher<T>)source, scheduler)).subscribe(ls);
RxJavaPlugins.onAssembly(new FlowableSubscribeOn<T>((Publisher<T>)source, scheduler, false)).subscribe(ls);

return f;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,13 @@ public void onError(Throwable t) {

@Override
public int requestFusion(int mode) {
return transitiveFusion(mode);
QueueSubscription<T> qs = this.qs;
if (qs != null) {
int m = qs.requestFusion(mode);
sourceMode = m;
return m;
}
return NONE;
}

@Override
Expand Down

0 comments on commit 013227b

Please sign in to comment.