mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-13 14:19:12 +00:00
Remove some unnecessary changes
This commit is contained in:
parent
8cf372243f
commit
7d3624c69b
1 changed files with 2 additions and 6 deletions
|
@ -1502,7 +1502,8 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
|
||||
if (!loadSuccessful)
|
||||
{
|
||||
PostAppCleanup();
|
||||
AppHost.DisposeContext();
|
||||
AppHost = null;
|
||||
|
||||
return;
|
||||
}
|
||||
|
@ -1580,11 +1581,6 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
}
|
||||
|
||||
public void AppHost_AppExit(object sender, EventArgs e)
|
||||
{
|
||||
PostAppCleanup();
|
||||
}
|
||||
|
||||
private void PostAppCleanup()
|
||||
{
|
||||
if (IsClosing)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue