From 3144d2e63b691cfc64bd5ebb3cae62bf56ab85ca Mon Sep 17 00:00:00 2001 From: Brian Lima Date: Sat, 9 Jan 2021 13:46:37 -0300 Subject: [PATCH] Fix LauncherAsync crash --- UWPHook/GamesWindow.xaml.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/UWPHook/GamesWindow.xaml.cs b/UWPHook/GamesWindow.xaml.cs index 6ca4c4c..2aaa493 100644 --- a/UWPHook/GamesWindow.xaml.cs +++ b/UWPHook/GamesWindow.xaml.cs @@ -39,8 +39,7 @@ namespace UWPHook //When length is 1, the only argument is the path where the app is installed if (Environment.GetCommandLineArgs().Length > 1) { - Task task = LauncherAsync(); - task.RunSynchronously(); + _ = LauncherAsync(); } } }