From 8567fcbaff20859c68ce4c30c7f347be34581fa4 Mon Sep 17 00:00:00 2001 From: samuelgruetter Date: Fri, 22 Nov 2013 22:04:48 +0100 Subject: [PATCH] replace `work{ t1 }` by `work{ t1.call() }` --- .../rxjava-scala/src/main/scala/rx/lang/scala/Scheduler.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/language-adaptors/rxjava-scala/src/main/scala/rx/lang/scala/Scheduler.scala b/language-adaptors/rxjava-scala/src/main/scala/rx/lang/scala/Scheduler.scala index 73e3e95575..f535d7a4d0 100644 --- a/language-adaptors/rxjava-scala/src/main/scala/rx/lang/scala/Scheduler.scala +++ b/language-adaptors/rxjava-scala/src/main/scala/rx/lang/scala/Scheduler.scala @@ -163,7 +163,7 @@ trait Scheduler { def scheduleRec(work: (=>Unit)=>Unit): Subscription = { Subscription(asJavaScheduler.schedule(new Action1[Action0] { def call(t1: Action0){ - work{ t1 } + work{ t1.call() } } })) //action1[action0]