1
0
mirror of synced 2024-11-22 09:13:51 +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)
@ -200,7 +201,7 @@ namespace Tapeti.Flow.Default
if (storeState)
await flowContext.EnsureStored();
else
else if (flowContext.FlowStateLock != null)
await flowContext.FlowStateLock.DeleteFlowState();
}