Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ public Task CloseCircuitAsync(ResilienceContext context)
}

task = ExecuteScheduledTaskAsync(task, context);

// stryker disable once all : no means to test this
if (!task.IsCompleted)
{
return WaitHalfOpenTask(task, context.ContinueOnCapturedContext);
Expand Down Expand Up @@ -243,6 +245,7 @@ public void Dispose()

internal static Task ExecuteScheduledTaskAsync(Task task, ResilienceContext context)
{
// stryker disable once all : no means to test this
if (context.IsSynchronous && !task.IsCompleted)
{
#pragma warning disable CA1849 // Call async methods when in an async method
Expand Down
Loading