Skip to content

Commit d48e92f

Browse files
committed
Do not unsubscribe from child once parent has been completed.
Child should not be unsubscribed when the parent complete because it may not be completed.
1 parent 2de214c commit d48e92f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

rxjava-core/src/main/java/rx/operators/OperationSwitch.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ public void onError(Throwable e) {
173173
@Override
174174
public void onCompleted() {
175175
synchronized (gate) {
176-
this.child.unsubscribe();
177176
this.stopped = true;
178177
if (!this.hasLatest) {
179178
this.observer.onCompleted();

0 commit comments

Comments
 (0)