Remove some unnecessary changes

This commit is contained in:
kekkon 2023-06-10 12:06:06 +02:00
parent 3df818c894
commit d707130525

View file

@ -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)
{