Don't deinit SDL from non-SDL thread
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user