1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-15 15:02:34 +02:00

Merge pull request #230 from svenstucki/quit

Make sure SDL_Quit() is called on exit
This commit is contained in:
Daniel Evans 2016-09-01 22:59:33 +01:00 committed by GitHub
commit 92b7f922b4
2 changed files with 4 additions and 0 deletions

View File

@ -189,6 +189,8 @@ RWGame::~RWGame()
log.info("Game", "Cleaning up work queue");
delete work;
SDL_Quit();
log.info("Game", "Done cleaning up");
}

View File

@ -23,6 +23,8 @@ int main(int argc, char* argv[])
SDL_Log("Failed to show message box\n");
}
SDL_Quit();
return -1;
}
}