Skip to content

Commit

Permalink
fix bug in async middleware disposal
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusz96 committed Oct 26, 2024
1 parent 1ffbbae commit 0673e5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/PipelineNet/AsyncBaseMiddlewareFlow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0673e5b

Please sign in to comment.