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 670fd1a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Nito.Mvvm.Async/AsyncCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ public override async Task ExecuteAsync(object parameter)
await Execution.TaskCompleted;
OnCanExecuteChanged();
PropertyChanged?.Invoke(this, PropertyChangedEventArgsCache.Instance.Get("IsExecuting"));
await Execution.Task;
}

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

0 comments on commit 670fd1a

Please sign in to comment.