From 6251a91dee689090e5ccf915b841a994ab19c138 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Mon, 18 Dec 2017 14:07:35 +0100 Subject: [PATCH] Remove useless unsubscribe. --- src/conference/remote-conference.cpp | 5 ----- src/conference/remote-conference.h | 1 - 2 files changed, 6 deletions(-) diff --git a/src/conference/remote-conference.cpp b/src/conference/remote-conference.cpp index f2a6a2f68..55d46e619 100644 --- a/src/conference/remote-conference.cpp +++ b/src/conference/remote-conference.cpp @@ -37,11 +37,6 @@ RemoteConference::RemoteConference ( d->eventHandler.reset(new RemoteConferenceEventHandler(this)); } -RemoteConference::~RemoteConference () { - L_D(); - d->eventHandler->unsubscribe(); -} - // ----------------------------------------------------------------------------- void RemoteConference::addParticipant (const IdentityAddress &addr, const CallSessionParams *params, bool hasMedia) { diff --git a/src/conference/remote-conference.h b/src/conference/remote-conference.h index 7ae77e655..1b5e62f47 100644 --- a/src/conference/remote-conference.h +++ b/src/conference/remote-conference.h @@ -35,7 +35,6 @@ class LINPHONE_PUBLIC RemoteConference : public Conference, public ConferenceLis public: RemoteConference (const std::shared_ptr &core, const IdentityAddress &myAddress, CallSessionListener *listener); - virtual ~RemoteConference(); /* ConferenceInterface */ void addParticipant (const IdentityAddress &addr, const CallSessionParams *params, bool hasMedia) override;