ENT-11094: Do nothing for paused flows. Matches 4.11.

This commit is contained in:
Adel El-Beik 2024-06-13 17:30:34 +01:00
parent 863cc9bf3d
commit 8aba2ba35f

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