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 9d14573 commit e3211faCopy full SHA for e3211fa
AsyncTesting/Commands/SaveWithNoDeadlock.cs
@@ -35,7 +35,7 @@ public void Execute(object parameter)
35
private async Task<string> CallSomethingAsync(TheViewModel vm)
36
{
37
//quick delay just to (attempt) to switch threads
38
- await Task.Delay(10).ConfigureAwait(continueOnCapturedContext:false);
+ await Task.Delay(1).ConfigureAwait(continueOnCapturedContext:false);
39
vm.CurrentThreadID = Thread.CurrentThread.ManagedThreadId;
40
await Task.Delay(1000).ConfigureAwait(continueOnCapturedContext: false);
41
return $"No deadlock because blocking call is on different context.";
0 commit comments