No, seriously, fixing ticket #703

This commit is contained in:
Viktor Klang 2011-03-15 00:53:40 +01:00
parent 38b291749a
commit 63bad2bb12

View file

@ -73,7 +73,7 @@ trait DefaultActorPool extends ActorPool { this: Actor =>
case None =>
delegate ! msg
case Some(future) =>
future completeWith (delegate.!!!(msg, TimeUnit.NANOSECONDS.toMillis(future.timeoutInNanos)))
delegate.!!!(msg, TimeUnit.NANOSECONDS.toMillis(future.timeoutInNanos)).onComplete( future.completeWith(_) )
}
}
}