add comments for the connection remove

pull/133/head
winlin 11 years ago
parent a3f9aa7e1e
commit 53ad510766

@ -907,6 +907,7 @@ int SrsServer::accept_client(SrsListenerType type, st_netfd_t client_stfd)
srs_verbose("add conn to vector."); srs_verbose("add conn to vector.");
// cycle will start process thread and when finished remove the client. // cycle will start process thread and when finished remove the client.
// @remark never use the conn, for it maybe destroyed.
if ((ret = conn->start()) != ERROR_SUCCESS) { if ((ret = conn->start()) != ERROR_SUCCESS) {
return ret; return ret;
} }

Loading…
Cancel
Save