We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b0fe49 commit 05cbe46Copy full SHA for 05cbe46
1 file changed
src/main/java/rx/schedulers/JavaFxScheduler.java
@@ -134,7 +134,6 @@ public void set(Subscription s) {
134
135
final Timeline timer = new Timeline(new KeyFrame(Duration.millis(delay), executeOnce));
136
executeOnce.setTimer(timer);
137
-
138
timer.play();
139
140
executeOnce.set(Subscriptions.create(() -> {
@@ -171,9 +170,7 @@ public Subscription schedule(final Action0 action) {
171
170
}
172
173
// wrap for returning so it also removes it from the 'innerSubscription'
174
- return Subscriptions.create(() -> {
175
- tracking.remove(s);
176
- });
+ return Subscriptions.create(() -> tracking.remove(s));
177
178
/**
179
* Uses a fast-path/slow path trampolining and tries to run
0 commit comments