diff --git a/src/Caliburn.Micro.Platform/Platforms/Maui/Windows/MauiPlatformProvider.cs b/src/Caliburn.Micro.Platform/Platforms/Maui/Windows/MauiPlatformProvider.cs index 62a77b4b..d816bf03 100644 --- a/src/Caliburn.Micro.Platform/Platforms/Maui/Windows/MauiPlatformProvider.cs +++ b/src/Caliburn.Micro.Platform/Platforms/Maui/Windows/MauiPlatformProvider.cs @@ -54,7 +54,7 @@ private bool CheckAccess() public virtual void BeginOnUIThread(System.Action action) { ValidateDispatcher(); - var dummy = dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => action()); + _ = dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => action()); } ///