We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0f5fa2 commit 0d7b585Copy full SHA for 0d7b585
src/ServiceControl.Infrastructure/AsyncTimer.cs
@@ -83,7 +83,7 @@ public async Task Stop(CancellationToken cancellationToken)
83
84
try
85
{
86
- Task.WaitAll([task], cancellationToken);
+ await task.WaitAsync(cancellationToken).ConfigureAwait(false);
87
}
88
catch (OperationCanceledException) when (tokenSource.IsCancellationRequested)
89
0 commit comments