正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -907,6 +907,7 @@ int SrsServer::accept_client(SrsListenerType type, st_netfd_t client_stfd) | @@ -907,6 +907,7 @@ int SrsServer::accept_client(SrsListenerType type, st_netfd_t client_stfd) | ||
| 907 | srs_verbose("add conn to vector."); | 907 | srs_verbose("add conn to vector."); |
| 908 | 908 | ||
| 909 | // cycle will start process thread and when finished remove the client. | 909 | // cycle will start process thread and when finished remove the client. |
| 910 | + // @remark never use the conn, for it maybe destroyed. | ||
| 910 | if ((ret = conn->start()) != ERROR_SUCCESS) { | 911 | if ((ret = conn->start()) != ERROR_SUCCESS) { |
| 911 | return ret; | 912 | return ret; |
| 912 | } | 913 | } |
-
请 注册 或 登录 后发表评论