From 6eb4d5916dfdc1a1c885600bcff2cfbb4e3cb09c Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Wed, 4 Dec 2019 19:19:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Common/MediaSource.cpp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/Common/MediaSource.cpp b/src/Common/MediaSource.cpp index 07b81a5a..036f541c 100644 --- a/src/Common/MediaSource.cpp +++ b/src/Common/MediaSource.cpp @@ -348,21 +348,6 @@ void MediaSource::unregisted(){ _strApp, _strId, *this); - - weak_ptr weakPtr = shared_from_this(); - EventPollerPool::Instance().getPoller()->async([weakPtr,this](){ - auto strongPtr = weakPtr.lock(); - if (!strongPtr) { - return; - } - NoticeCenter::Instance().emitEvent(Broadcast::kBroadcastMediaChanged, - true, - _strSchema, - _strVhost, - _strApp, - _strId, - *this); - },false); }