1
0
Fork 0
forked from len0rd/rockbox

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:
Amaury Pouly 2010-05-25 15:30:28 +00:00
parent d5b24ddcc5
commit 129a0f94da

View file

@ -176,6 +176,7 @@ void gui_message_loop(void)
case SDL_QUIT:
{
sim_exit_irq_handler();
SDL_Quit();
exit(EXIT_SUCCESS);
break;
}