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;