summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/src/thread
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/sdl/src/thread')
-rw-r--r--apps/plugins/sdl/src/thread/rockbox/SDL_systhread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/sdl/src/thread/rockbox/SDL_systhread.c b/apps/plugins/sdl/src/thread/rockbox/SDL_systhread.c
index 214cbe4..155d7a4 100644
--- a/apps/plugins/sdl/src/thread/rockbox/SDL_systhread.c
+++ b/apps/plugins/sdl/src/thread/rockbox/SDL_systhread.c
@@ -40,6 +40,7 @@ static void rbsdl_runthread(void)
void *args = global_args;
global_args = NULL;
SDL_RunThread(args);
+ rb->thread_exit();
}
#define MAX_THREAD 4