"Task.Wait()" synchronously blocks, use "await" instead (#6598)

This commit is contained in:
Marco Carvalho 2024-04-06 08:36:18 -03:00 committed by GitHub
parent 6d28b64312
commit 22c0aa9c90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -285,7 +285,7 @@ namespace Ryujinx.Ava.UI.Windows
{
_deferLoad = false;
ViewModel.LoadApplication(_launchPath, _startFullscreen).Wait();
await ViewModel.LoadApplication(_launchPath, _startFullscreen);
}
}
else