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

[release/2.x] Avoid async void in SKXamlCanvas. #2731

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

github-actions[bot]
Copy link

Backport of 08c711c from #2720.

The async void will terminate here. And we can ignore the Dispatcher.RunAsync result and we can receive the exception from TaskScheduler.UnobservedTaskException.

See dotnet/runtime#76367

(cherry picked from commit 08c711c)
@github-actions github-actions bot added the backport This PR is an automatic backport. label Jan 31, 2024
@mattleibow mattleibow merged commit 76ed7a0 into release/2.x Jan 31, 2024
1 of 2 checks passed
@mattleibow mattleibow deleted the backport/pr-2720-to-release/2.x branch January 31, 2024 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport This PR is an automatic backport.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants