Merged in fix-clockutils-suspendable (pull request #150)

node: add missing @Suspendable
This commit is contained in:
Rick Parker 2016-06-15 16:05:10 +01:00
commit 07153578f0

View File

@ -118,7 +118,7 @@ fun Clock.awaitWithDeadline(deadline: Instant, future: Future<*> = SettableFutur
var nanos = 0L
do {
doInterruptibly(SuspendableRunnable {
doInterruptibly(SuspendableRunnable @Suspendable {
nanos = Duration.between(this.instant(), deadline).toNanos()
if (nanos > 0) {
try {