mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 14:45:41 +12:00
Don't deinit SDL from non-SDL thread
This commit is contained in:
parent
19b69bbdc2
commit
da23ec1a06
1 changed files with 1 additions and 3 deletions
|
@ -211,8 +211,6 @@ void MainWindow::closeEvent(QCloseEvent *event) {
|
||||||
if (emuThread.joinable()) {
|
if (emuThread.joinable()) {
|
||||||
emuThread.join();
|
emuThread.join();
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_Quit();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Cleanup when the main window closes
|
// Cleanup when the main window closes
|
||||||
|
@ -602,4 +600,4 @@ void MainWindow::pollControllers() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue