diff --git a/src/PipelineNet/AsyncBaseMiddlewareFlow.cs b/src/PipelineNet/AsyncBaseMiddlewareFlow.cs index 88f441d..e474586 100644 --- a/src/PipelineNet/AsyncBaseMiddlewareFlow.cs +++ b/src/PipelineNet/AsyncBaseMiddlewareFlow.cs @@ -82,6 +82,7 @@ internal static async Task DisposeMiddlewareAsync(MiddlewareResolverResult middl { await asyncDisposable.DisposeAsync().ConfigureAwait(false); } + else #else var completedTask = Task.FromResult(0); await completedTask.ConfigureAwait(false);