diff --git a/trunk/src/app/srs_app_server.cpp b/trunk/src/app/srs_app_server.cpp index 4817d34ed955b1e1eeec1e61d740b47c1e025e5e..5926edd1b6f827b58ccf96bf56cd005f99345891 100644 --- a/trunk/src/app/srs_app_server.cpp +++ b/trunk/src/app/srs_app_server.cpp @@ -1379,6 +1379,9 @@ srs_error_t SrsServerAdapter::run(SrsWaitGroup* wg) void SrsServerAdapter::stop() { + if(srs!=NULL){ + srs->stop(); + } } SrsServer* SrsServerAdapter::instance()