Merge pull request #7753 from corda/adel/ENT-11094

ENT-11094: Do nothing for paused flows. Matches 4.11.
This commit is contained in:
Adel El-Beik 2024-06-14 11:24:31 +01:00 committed by GitHub
commit 5be80254e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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. */ }
}
}