Fix compilation error

This commit is contained in:
Kyriakos Tharrouniatis 2020-07-30 10:54:24 +01:00
parent 8a37108a58
commit f2bcc85f30

View File

@ -474,7 +474,8 @@ internal class SingleThreadedStateMachineManager(
val checkpoint = tryDeserializeCheckpoint(serializedCheckpoint, flowId) ?: return
// Resurrect flow
flowCreator.createFlowFromCheckpoint(flowId, checkpoint, currentState.reloadCheckpointAfterSuspendCount) ?: return
flowCreator.createFlowFromCheckpoint(flowId, checkpoint, reloadCheckpointAfterSuspendCount = currentState.reloadCheckpointAfterSuspendCount)
?: return
} else {
// Just flow initiation message
null