正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -218,7 +218,8 @@ namespace internal { | @@ -218,7 +218,8 @@ namespace internal { | ||
| 218 | handler->on_thread_stop(); | 218 | handler->on_thread_stop(); |
| 219 | srs_info("thread %s cycle finished", _name); | 219 | srs_info("thread %s cycle finished", _name); |
| 220 | 220 | ||
| 221 | - // TODO: FIXME: when thread terminated normally, set the tid to NULL. | 221 | + // when thread terminated normally, set the tid to NULL. |
| 222 | + tid = NULL; | ||
| 222 | } | 223 | } |
| 223 | 224 | ||
| 224 | void* SrsThread::thread_fun(void* arg) | 225 | void* SrsThread::thread_fun(void* arg) |
-
请 注册 或 登录 后发表评论