BUG FIX van David voor flows die direct eindigen
This commit is contained in:
parent
a14b4378bc
commit
e3496b0aaf
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user