diff options
| author | Amaury Pouly <pamaury@rockbox.org> | 2010-05-25 15:30:28 +0000 |
|---|---|---|
| committer | Amaury Pouly <pamaury@rockbox.org> | 2010-05-25 15:30:28 +0000 |
| commit | 129a0f94da3722bd8984db6ce60e9aeca3bb65d3 (patch) | |
| tree | dbb16d54fd2a2c1877195c03dadc9a551c6d345b | |
| parent | d5b24ddcc57857d9db5751c2f6e51f55633459e7 (diff) | |
| download | rockbox-129a0f94da3722bd8984db6ce60e9aeca3bb65d3.zip rockbox-129a0f94da3722bd8984db6ce60e9aeca3bb65d3.tar.gz rockbox-129a0f94da3722bd8984db6ce60e9aeca3bb65d3.tar.bz2 rockbox-129a0f94da3722bd8984db6ce60e9aeca3bb65d3.tar.xz | |
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
| -rw-r--r-- | firmware/target/hosted/sdl/button-sdl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/target/hosted/sdl/button-sdl.c b/firmware/target/hosted/sdl/button-sdl.c index e9fc037..629d3aa 100644 --- a/firmware/target/hosted/sdl/button-sdl.c +++ b/firmware/target/hosted/sdl/button-sdl.c @@ -176,6 +176,7 @@ void gui_message_loop(void) case SDL_QUIT: { sim_exit_irq_handler(); + SDL_Quit(); exit(EXIT_SUCCESS); break; } |