From 8aba2ba35ffbf2c3ce3932bd02a10756b7c73f34 Mon Sep 17 00:00:00 2001 From: Adel El-Beik Date: Thu, 13 Jun 2024 17:30:34 +0100 Subject: [PATCH] ENT-11094: Do nothing for paused flows. Matches 4.11. --- .../services/statemachine/SingleThreadedStateMachineManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/src/main/kotlin/net/corda/node/services/statemachine/SingleThreadedStateMachineManager.kt b/node/src/main/kotlin/net/corda/node/services/statemachine/SingleThreadedStateMachineManager.kt index d0e4d5f88b..9f6e0eca97 100644 --- a/node/src/main/kotlin/net/corda/node/services/statemachine/SingleThreadedStateMachineManager.kt +++ b/node/src/main/kotlin/net/corda/node/services/statemachine/SingleThreadedStateMachineManager.kt @@ -1061,7 +1061,7 @@ internal class SingleThreadedStateMachineManager( Fiber.unparkDeserialized(flow.fiber, scheduler) } is FlowState.Finished -> throw IllegalStateException("Cannot start (or resume) a finished flow.") - is FlowState.Paused -> { /* TODO JDK17: Fixme */ } + is FlowState.Paused -> { /* Do Nothing. */ } } }