1
0
mirror of synced 2024-11-21 17:03:50 +00: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 bff7124027
commit 02debfb82a

View File

@ -56,11 +56,10 @@ namespace Tapeti.Flow.Default
private async Task SendRequest(FlowContext context, object message, ResponseHandlerInfo responseHandlerInfo,
string convergeMethodName = null, bool convergeMethodTaskSync = false)
{
Debug.Assert(context.FlowState != null, "context.FlowState != null");
if (context.FlowState == null)
{
await CreateNewFlowState(context);
Debug.Assert(context.FlowState != null, "context.FlowState != null");
}
var continuationID = Guid.NewGuid();