1
0
mirror of synced 2024-11-05 02:59:16 +00:00

BUG FIX van David voor flows die direct eindigen

This commit is contained in:
Menno van Lavieren 2017-07-25 15:33:34 +02:00
parent a14b4378bc
commit e3496b0aaf

View File

@ -160,7 +160,8 @@ namespace Tapeti.Flow.Default
{
flowContext = new FlowContext
{
MessageContext = context
MessageContext = context,
FlowState = new FlowState()
};
if (storeState)
@ -182,7 +183,7 @@ namespace Tapeti.Flow.Default
}
}
else
flowContext = (FlowContext) flowContextItem;
flowContext = (FlowContext)flowContextItem;
try
@ -200,7 +201,7 @@ namespace Tapeti.Flow.Default
if (storeState)
await flowContext.EnsureStored();
else
else if (flowContext.FlowStateLock != null)
await flowContext.FlowStateLock.DeleteFlowState();
}