SDL: Apply shutdown race condition fix.
This commit is contained in:
parent
48b4a5f378
commit
a85a88e112
4 changed files with 12 additions and 0 deletions
|
@ -208,6 +208,7 @@ void MainUI::EmuThreadFunc() {
|
|||
emuThreadState = (int)EmuThreadState::STOPPED;
|
||||
|
||||
NativeShutdownGraphics();
|
||||
graphicsContext->StopThread();
|
||||
}
|
||||
|
||||
void MainUI::EmuThreadStart() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue