mirror of
https://github.com/corda/corda.git
synced 2024-12-24 07:06:44 +00:00
Merged in fix-clockutils-suspendable (pull request #150)
node: add missing @Suspendable
This commit is contained in:
commit
07153578f0
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user