Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove useless awaits that cause application crashes #29

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bitbonk
Copy link

@bitbonk bitbonk commented Feb 14, 2020

Fixes #28

I don't see why Execution.Task needs to be awaited again, because Execution.TaskCompleted was already awaited.

@bitbonk bitbonk changed the title Remove useless awaits Remove useless awaits that cause application crashes Feb 14, 2020
@StephenCleary StephenCleary self-assigned this Oct 3, 2020
{
// We cannot use `when (ex.CancellationToken == cancellationToken)` on the catch block because the user delegate may be cancelled by a linked CancellationToken.
}
await executeAsync(parameter, _context.Token);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like you accidentally included this code change in the wrong PR. This looks like a copy of the changes in #31, which are not relevant here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AyncCommand throws on the UI-Thread
3 participants