1
0
Fork 0
forked from len0rd/rockbox

Since the sdl to target tree move, the main thread cannot be removed anymore,

since it's now the default thread which is implicitely created by starting the sim.

This caused a segfault that r26283 tried to fix. Revert r26283 and protect
the main thread from being removed.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26315 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2010-05-26 17:16:19 +00:00
parent 6d281a3896
commit bc2f8bbc07
3 changed files with 6 additions and 3 deletions

View file

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