diff --git a/source/SkiaSharp.Views.Uno/SkiaSharp.Views.Uno.WinUI.Shared/SKXamlCanvas.cs b/source/SkiaSharp.Views.Uno/SkiaSharp.Views.Uno.WinUI.Shared/SKXamlCanvas.cs index 2697be3009..9fb3626263 100644 --- a/source/SkiaSharp.Views.Uno/SkiaSharp.Views.Uno.WinUI.Shared/SKXamlCanvas.cs +++ b/source/SkiaSharp.Views.Uno/SkiaSharp.Views.Uno.WinUI.Shared/SKXamlCanvas.cs @@ -125,12 +125,12 @@ private void OnUnloaded(object sender, RoutedEventArgs e) display.DpiChanged -= OnDpiChanged; } - public new async void Invalidate() + public new void Invalidate() { if (Dispatcher.HasThreadAccess) DoInvalidate(); else - await Dispatcher.RunAsync(CoreDispatcherPriority.Normal, DoInvalidate); + _ = Dispatcher.RunAsync(CoreDispatcherPriority.Normal, DoInvalidate); } partial void DoLoaded();