From 243a2eabf54b9aa50d2835769cd1940648c752b1 Mon Sep 17 00:00:00 2001 From: winlin Date: Sun, 4 May 2014 10:01:57 +0800 Subject: [PATCH] explicit exit st-thread, for gmc to analysis mem --- trunk/src/app/srs_app_thread.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trunk/src/app/srs_app_thread.cpp b/trunk/src/app/srs_app_thread.cpp index cec5e4959..348f57d2c 100644 --- a/trunk/src/app/srs_app_thread.cpp +++ b/trunk/src/app/srs_app_thread.cpp @@ -175,6 +175,8 @@ void* SrsThread::thread_fun(void* arg) srs_assert(obj); obj->thread_cycle(); + + st_thread_exit(NULL); return NULL; } \ No newline at end of file