From 53ad510766ebaddd34a02b4912d43a0dc6f849bd Mon Sep 17 00:00:00 2001 From: winlin Date: Sat, 28 Jun 2014 11:16:45 +0800 Subject: [PATCH] add comments for the connection remove --- trunk/src/app/srs_app_server.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/trunk/src/app/srs_app_server.cpp b/trunk/src/app/srs_app_server.cpp index 5a9b5c552..42b693236 100644 --- a/trunk/src/app/srs_app_server.cpp +++ b/trunk/src/app/srs_app_server.cpp @@ -907,6 +907,7 @@ int SrsServer::accept_client(SrsListenerType type, st_netfd_t client_stfd) srs_verbose("add conn to vector."); // 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) { return ret; }