Fixed incorrect assertion caused by fixing "code issues" (oh the irony)
This commit is contained in:
parent
31acbcb8e0
commit
2042cc074f
@ -56,11 +56,10 @@ namespace Tapeti.Flow.Default
|
|||||||
private async Task SendRequest(FlowContext context, object message, ResponseHandlerInfo responseHandlerInfo,
|
private async Task SendRequest(FlowContext context, object message, ResponseHandlerInfo responseHandlerInfo,
|
||||||
string convergeMethodName = null, bool convergeMethodTaskSync = false)
|
string convergeMethodName = null, bool convergeMethodTaskSync = false)
|
||||||
{
|
{
|
||||||
Debug.Assert(context.FlowState != null, "context.FlowState != null");
|
|
||||||
|
|
||||||
if (context.FlowState == null)
|
if (context.FlowState == null)
|
||||||
{
|
{
|
||||||
await CreateNewFlowState(context);
|
await CreateNewFlowState(context);
|
||||||
|
Debug.Assert(context.FlowState != null, "context.FlowState != null");
|
||||||
}
|
}
|
||||||
|
|
||||||
var continuationID = Guid.NewGuid();
|
var continuationID = Guid.NewGuid();
|
||||||
|
Loading…
Reference in New Issue
Block a user