Skip to content

Commit

Permalink
Remove useless await
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbonk committed Feb 14, 2020
1 parent eea676b commit 8c14007
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Nito.Mvvm.Async/CustomAsyncCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ public override async Task ExecuteAsync(object parameter)
tcs.SetResult(null);
await Execution.TaskCompleted;
PropertyChanged?.Invoke(this, PropertyChangedEventArgsCache.Instance.Get("IsExecuting"));
await Execution.Task;
}

/// <summary>
Expand All @@ -121,4 +120,4 @@ private static async Task DoExecuteAsync(Task precondition, Func<object, Task> e
await executeAsync(parameter);
}
}
}
}

0 comments on commit 8c14007

Please sign in to comment.