mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-22 14:26:17 +00:00
Wait for async task to complete (#7122)
This way exceptions thrown during the execution of CheckLaunchState() will correctly invoke the unhandled exception handler and cause Ryujinx to crash.
This commit is contained in:
parent
f39e89ece7
commit
ccf96bf5e6
@ -482,9 +482,7 @@ namespace Ryujinx.Ava.UI.Windows
|
|||||||
LoadApplications();
|
LoadApplications();
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma warning disable CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
|
CheckLaunchState().Wait();
|
||||||
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)
|
private void SetMainContent(Control content = null)
|
||||||
|
Loading…
Reference in New Issue
Block a user