1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

the st_thread_exit is ok, not the memory leak cause.

This commit is contained in:
winlin 2014-05-23 14:11:50 +08:00
parent 5f7bacf678
commit 9eedf1ac40

View file

@ -176,9 +176,7 @@ void* SrsThread::thread_fun(void* arg)
obj->thread_cycle();
// never use the following exit function,
// it will cause the SRS memory leak.
//st_thread_exit(NULL);
st_thread_exit(NULL);
return NULL;
}