Fix a crash when closing the main UI (#904)

* Fix a crash when closing the main Ui

Also make sure to dispose the OpenAL context to not leak memory when
unloading the emulation context.

* Improve keys and 'game already running' dialogs

* Make sure to dispose the page table and ThreadContext

Less memory leaks!

* Fix tests

* Address gdk's comments
This commit is contained in:
Thog 2020-02-06 12:38:24 +01:00 committed by GitHub
parent 28c16c2170
commit dda5f9019d
7 changed files with 40 additions and 10 deletions

View file

@ -101,6 +101,7 @@ namespace Ryujinx.Audio
}
_tracks.Clear();
_context.Dispose();
}
/// <summary>