From 6ac15db4111ba5f2930bad5cf18ceabb988f9ab2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=86=E5=A4=A9?= <12234162+jiangtian2022@user.noreply.gitee.com> Date: Mon, 18 Sep 2023 09:05:37 +0000 Subject: [PATCH] =?UTF-8?q?update=20trunk/src/app/srs=5Fapp=5Fserver.cpp.?= =?UTF-8?q?=20=E4=BF=AE=E6=AD=A3=E5=9C=A8=E4=BD=BF=E7=94=A8Gracefully=20Qu?= =?UTF-8?q?it=E6=97=B6=EF=BC=8C=E6=9C=AA=E7=AD=89=E8=BF=9E=E6=8E=A5?= =?UTF-8?q?=E6=96=AD=E5=BC=80=EF=BC=8C=E5=8D=B3=E9=80=80=E5=87=BA=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 将天 <12234162+jiangtian2022@user.noreply.gitee.com> --- trunk/src/app/srs_app_server.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/trunk/src/app/srs_app_server.cpp b/trunk/src/app/srs_app_server.cpp index 4817d34ed..5926edd1b 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() -- Gitee