Skip to content

Commit 8675ab3

Browse files
committedNov 23, 2022
Fixed exception in flow requests
1 parent b2ec59a commit 8675ab3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Tapeti.Flow/Default/FlowProvider.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public IYieldPoint End()
7474
internal async Task SendRequest(FlowContext context, object message, ResponseHandlerInfo responseHandlerInfo,
7575
string? convergeMethodName = null, bool convergeMethodTaskSync = false, bool store = true)
7676
{
77-
if (context.FlowState == null)
77+
if (!context.HasFlowStateAndLock)
7878
{
7979
await CreateNewFlowState(context);
8080
Debug.Assert(context.FlowState != null, "context.FlowState != null");

0 commit comments

Comments
 (0)