Merge pull request #10606 from unknownbrackets/gl-shutdown

GLES: Fix shutdown while stepping
This commit is contained in:
Henrik Rydgård 2018-02-12 00:20:43 +01:00 committed by GitHub
commit 4e5fb6e286
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,6 +59,7 @@ void MainThread_Start(bool separateEmuThread) {
void MainThread_Stop() {
// Already stopped?
UpdateUIState(UISTATE_EXIT);
Core_Stop();
mainThread.join();
}