mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
sdl: call SDL_Quit() before exiting when receiving the SDL_QUIT event. It is necessary as the sdl tree move removed the atexit(SDL_Quit);
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26283 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d5b24ddcc5
commit
129a0f94da
1 changed files with 1 additions and 0 deletions
|
@ -176,6 +176,7 @@ void gui_message_loop(void)
|
|||
case SDL_QUIT:
|
||||
{
|
||||
sim_exit_irq_handler();
|
||||
SDL_Quit();
|
||||
exit(EXIT_SUCCESS);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue