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