Skip to content

Commit 54ecc18

Browse files
authored
Update SaveWithNoDeadlock.cs
1 parent d7ac748 commit 54ecc18

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

AsyncTesting/Commands/SaveWithNoDeadlock.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ public void Execute(object parameter)
2424
TheViewModel vm = parameter as TheViewModel;
2525
vm.CurrentThreadID = Thread.CurrentThread.ManagedThreadId;
2626

27-
//Blocks while CallSomethingAsync runs. CallSomethingAsync
28-
//cannot resume on the context because .Result is blocking.
2927
string msg = CallSomethingAsync(vm).Result;
3028
vm.CurrentThreadID = Thread.CurrentThread.ManagedThreadId;
3129
vm.UpdateDescription(msg);

0 commit comments

Comments
 (0)