mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
when thread terminated normally, set the tid to NULL.
This commit is contained in:
parent
a994191ddc
commit
3da25f3aee
1 changed files with 2 additions and 1 deletions
|
@ -218,7 +218,8 @@ namespace internal {
|
||||||
handler->on_thread_stop();
|
handler->on_thread_stop();
|
||||||
srs_info("thread %s cycle finished", _name);
|
srs_info("thread %s cycle finished", _name);
|
||||||
|
|
||||||
// TODO: FIXME: when thread terminated normally, set the tid to NULL.
|
// when thread terminated normally, set the tid to NULL.
|
||||||
|
tid = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void* SrsThread::thread_fun(void* arg)
|
void* SrsThread::thread_fun(void* arg)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue