Skip to content

Commit 8567fcb

Browse files
replace work{ t1 } by work{ t1.call() }
1 parent 00198ac commit 8567fcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

language-adaptors/rxjava-scala/src/main/scala/rx/lang/scala/Scheduler.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ trait Scheduler {
163163
def scheduleRec(work: (=>Unit)=>Unit): Subscription = {
164164
Subscription(asJavaScheduler.schedule(new Action1[Action0] {
165165
def call(t1: Action0){
166-
work{ t1 }
166+
work{ t1.call() }
167167
}
168168
}))
169169
//action1[action0]

0 commit comments

Comments
 (0)