Fix Disposal functions

This commit is contained in:
Isaac Marovitz 2022-12-25 19:15:15 +00:00 committed by Isaac Marovitz
parent b3541cf926
commit b8a18930f2
No known key found for this signature in database
GPG key ID: 97250B2B09A132E1

View file

@ -5,6 +5,7 @@ using Ryujinx.Ava.Common.Locale;
using Ryujinx.Ava.UI.ViewModels;
using Ryujinx.HLE.FileSystem;
using System;
using System.ComponentModel;
namespace Ryujinx.Ava.UI.Windows
{
@ -109,5 +110,12 @@ namespace Ryujinx.Ava.UI.Windows
{
ViewModel.ApplyButton();
}
protected override void OnClosing(CancelEventArgs e)
{
HotkeysPage.Dispose();
InputPage.Dispose();
base.OnClosing(e);
}
}
}