the st_thread_exit is ok, not the memory leak cause.
This commit is contained in:
parent
5f7bacf678
commit
9eedf1ac40
|
|
@ -176,9 +176,7 @@ void* SrsThread::thread_fun(void* arg)
|
||||||
|
|
||||||
obj->thread_cycle();
|
obj->thread_cycle();
|
||||||
|
|
||||||
// never use the following exit function,
|
st_thread_exit(NULL);
|
||||||
// it will cause the SRS memory leak.
|
|
||||||
//st_thread_exit(NULL);
|
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user