Skip to content

Commit 0977f04

Browse files
Fix Deprecated Method Call
1 parent 93d4e69 commit 0977f04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rxjava-core/src/main/java/rx/Scheduler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public Subscription call(final Scheduler scheduler, final Func2 parentAction) {
165165
@Override
166166
public void call() {
167167
if (!parentSubscription.isUnsubscribed()) {
168-
childSubscription.setSubscription(scheduler.schedule(parentAction, parentAction));
168+
childSubscription.set(scheduler.schedule(parentAction, parentAction));
169169
}
170170
}
171171

0 commit comments

Comments
 (0)