From 9ecb9bbad7b13d1ca7d74e7f05b6cefd237c99ed Mon Sep 17 00:00:00 2001 From: dovholuknf <46322585+dovholuknf@users.noreply.github.com> Date: Mon, 25 Jul 2022 08:18:33 -0400 Subject: [PATCH] fix async warning --- DesktopEdge/MainWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DesktopEdge/MainWindow.xaml.cs b/DesktopEdge/MainWindow.xaml.cs index d2b386d4..a95372fb 100644 --- a/DesktopEdge/MainWindow.xaml.cs +++ b/DesktopEdge/MainWindow.xaml.cs @@ -779,7 +779,7 @@ namespace ZitiDesktopEdge { private void MonitorClient_OnShutdownEvent(object sender, StatusEvent e) { - this.Dispatcher.Invoke(async () => { + this.Dispatcher.Invoke(() => { Application.Current.Shutdown(); }); }