diff options
| author | Thog <me@thog.eu> | 2020-02-06 12:38:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-06 12:38:24 +0100 |
| commit | a906f2071cbe4caf53c697bcb7dfa91e3e7dcfae (patch) | |
| tree | a432e5c068ef43e4cc9ce21800a3903547d8f63c /Ryujinx.Audio/Renderers | |
| parent | f2b9a9c2b0a3d7af3b56df9ae09db8a3b2d8506c (diff) | |
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
Diffstat (limited to 'Ryujinx.Audio/Renderers')
| -rw-r--r-- | Ryujinx.Audio/Renderers/OpenAL/OpenALAudioOut.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Ryujinx.Audio/Renderers/OpenAL/OpenALAudioOut.cs b/Ryujinx.Audio/Renderers/OpenAL/OpenALAudioOut.cs index 30b325a5..ea5ce621 100644 --- a/Ryujinx.Audio/Renderers/OpenAL/OpenALAudioOut.cs +++ b/Ryujinx.Audio/Renderers/OpenAL/OpenALAudioOut.cs @@ -101,6 +101,7 @@ namespace Ryujinx.Audio } _tracks.Clear(); + _context.Dispose(); } /// <summary> |
