mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 17:25:46 +00:00
citra-qt: Move system shutdown to run inside EmuThread
This stops (for some reason sporadic) crashes and OpenGL errors during shutdown, when the OpenGL renderer tries to clean up objects from the UI thread, which has no OpenGL context active.
This commit is contained in:
parent
2453064ccd
commit
c42f680c75
2 changed files with 3 additions and 3 deletions
|
@ -72,6 +72,9 @@ void EmuThread::run() {
|
|||
}
|
||||
}
|
||||
|
||||
// Shutdown the core emulation
|
||||
System::Shutdown();
|
||||
|
||||
MicroProfileOnThreadExit();
|
||||
|
||||
render_window->moveContext();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue