Explorar o código

Revert "Wait for async task to complete (#7122)" (#7318)

This reverts commit ccf96bf5e673456ec80f72725e4c9afa4e4c5a85.
gdkchan hai 1 ano
pai
achega
062ef43eb4
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      src/Ryujinx/UI/Windows/MainWindow.axaml.cs

+ 3 - 1
src/Ryujinx/UI/Windows/MainWindow.axaml.cs

@@ -482,7 +482,9 @@ namespace Ryujinx.Ava.UI.Windows
                 LoadApplications();
             }
 
-            CheckLaunchState().Wait();
+#pragma warning disable CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
+            CheckLaunchState();
+#pragma warning restore CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
         }
 
         private void SetMainContent(Control content = null)