mirror of
https://github.com/corda/corda.git
synced 2025-01-30 08:04:16 +00:00
ENT-5672 Know if paused flow is hospitalized (#6641)
Missing change from the original commit.
This commit is contained in:
parent
be6b76ff89
commit
8534aad3b1
@ -813,7 +813,9 @@ internal class SingleThreadedStateMachineManager(
|
||||
val checkpoint = currentState.checkpoint.copy(status = Checkpoint.FlowStatus.PAUSED, flowState = FlowState.Paused)
|
||||
val pausedFlow = NonResidentFlow(
|
||||
id,
|
||||
checkpoint, flow.resultFuture,
|
||||
checkpoint,
|
||||
flow.resultFuture,
|
||||
hospitalized = currentState.checkpoint.status == Checkpoint.FlowStatus.HOSPITALIZED,
|
||||
progressTracker = currentState.flowLogic.progressTracker
|
||||
)
|
||||
val eventQueue = flow.fiber.transientValues.eventQueue
|
||||
|
Loading…
x
Reference in New Issue
Block a user