Skip to content

Commit

Permalink
"Task.Wait()" synchronously blocks, use "await" instead (#6598)
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-carvalho authored Apr 6, 2024
1 parent 6d28b64 commit 22c0aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ryujinx/UI/Windows/MainWindow.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ private async Task CheckLaunchState()
{
_deferLoad = false;

ViewModel.LoadApplication(_launchPath, _startFullscreen).Wait();
await ViewModel.LoadApplication(_launchPath, _startFullscreen);
}
}
else
Expand Down

0 comments on commit 22c0aa9

Please sign in to comment.