summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-05-26 17:16:19 +0000
committerThomas Martitz <kugel@rockbox.org>2010-05-26 17:16:19 +0000
commitbc2f8bbc079b2b143c06739163ba229aedef90c9 (patch)
tree381161cdc0116db83647804ab1a1a21cda73e5d9 /apps
parent6d281a38968b7092af1831d2a3e144f6c98441ce (diff)
downloadrockbox-bc2f8bbc079b2b143c06739163ba229aedef90c9.tar.gz
rockbox-bc2f8bbc079b2b143c06739163ba229aedef90c9.zip
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
Diffstat (limited to 'apps')
-rw-r--r--apps/misc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/misc.c b/apps/misc.c
index 3dfc2892ca..95c0dd6e34 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -256,7 +256,6 @@ static bool clean_shutdown(void (*callback)(void *), void *parameter)
256 (void)parameter; 256 (void)parameter;
257 bookmark_autobookmark(false); 257 bookmark_autobookmark(false);
258 call_storage_idle_notifys(true); 258 call_storage_idle_notifys(true);
259 exit(0);
260#else 259#else
261 long msg_id = -1; 260 long msg_id = -1;
262 int i; 261 int i;