diff options
author | Marco Carvalho <marcolucio27@gmail.com> | 2024-04-06 08:36:18 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-06 13:36:18 +0200 |
commit | 22c0aa9c90a727830a4ef58a4f4f0faf8ca399e5 (patch) | |
tree | 973afd4eb3b06e9e1d87bda91d3a97ab87c9fba2 | |
parent | 6d28b643126ee5de476a89f3ff94b5cc3ead3970 (diff) |
"Task.Wait()" synchronously blocks, use "await" instead (#6598)1.1.1255
-rw-r--r-- | src/Ryujinx/UI/Windows/MainWindow.axaml.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Ryujinx/UI/Windows/MainWindow.axaml.cs b/src/Ryujinx/UI/Windows/MainWindow.axaml.cs index 33a9af5b..37e2e71a 100644 --- a/src/Ryujinx/UI/Windows/MainWindow.axaml.cs +++ b/src/Ryujinx/UI/Windows/MainWindow.axaml.cs @@ -285,7 +285,7 @@ namespace Ryujinx.Ava.UI.Windows { _deferLoad = false; - ViewModel.LoadApplication(_launchPath, _startFullscreen).Wait(); + await ViewModel.LoadApplication(_launchPath, _startFullscreen); } } else |