1
0
mirror of synced 2024-11-25 04:03:09 +01:00

Fixed incorrect assertion caused by fixing "code issues" (oh the irony)

This commit is contained in:
Mark van Renswoude 2018-12-19 21:40:53 +01:00
parent 31acbcb8e0
commit 2042cc074f

View File

@ -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();