Skip to content

Commit

Permalink
Update middleware to use cancellation token
Browse files Browse the repository at this point in the history
  • Loading branch information
avanigupta committed Oct 19, 2021
1 parent f068b02 commit 0c742aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public async Task InvokeAsync(HttpContext context)
{
foreach (var refresher in Refreshers)
{
_ = refresher.TryRefreshAsync();
_ = refresher.TryRefreshAsync(context.RequestAborted);
}

// Call the next delegate/middleware in the pipeline
Expand Down

0 comments on commit 0c742aa

Please sign in to comment.