mirror of
https://github.com/corda/corda.git
synced 2025-04-06 19:07:08 +00:00
node: add missing @Suspendable
This commit is contained in:
parent
8aa6fa156a
commit
3d109252f5
@ -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…
x
Reference in New Issue
Block a user