Don't deinit SDL from non-SDL thread

This commit is contained in:
wheremyfoodat
2024-07-25 13:40:01 +03:00
committed by GitHub
parent 19b69bbdc2
commit da23ec1a06

View File

@@ -211,8 +211,6 @@ void MainWindow::closeEvent(QCloseEvent *event) {
if (emuThread.joinable()) {
emuThread.join();
}
SDL_Quit();
}
// Cleanup when the main window closes
@@ -602,4 +600,4 @@ void MainWindow::pollControllers() {
}
}
}
}
}