diff options
author | Frank Schmirler <vdr@schmirler.de> | 2011-11-25 00:24:37 +0100 |
---|---|---|
committer | Frank Schmirler <vdr@schmirler.de> | 2011-11-25 00:24:37 +0100 |
commit | 9b91301d943cfbec5208419704cfece84267223d (patch) | |
tree | f1fa7c428490eb8ee03cfa26297559c62f4d81c7 /server/connectionIGMP.c | |
parent | 7347e24123ec0b852091ec035cabce0e10278a72 (diff) | |
download | vdr-plugin-streamdev-9b91301d943cfbec5208419704cfece84267223d.tar.gz vdr-plugin-streamdev-9b91301d943cfbec5208419704cfece84267223d.tar.bz2 |
Don't keep a pointer to the connection in components MulticastGroup
structure as the connection may now be deleted from outside via menu.
Diffstat (limited to 'server/connectionIGMP.c')
-rw-r--r-- | server/connectionIGMP.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/server/connectionIGMP.c b/server/connectionIGMP.c index 695c8bc..328fe44 100644 --- a/server/connectionIGMP.c +++ b/server/connectionIGMP.c @@ -64,12 +64,11 @@ void cConnectionIGMP::Welcome() esyslog("streamdev-server IGMP: GetDevice failed"); } -void cConnectionIGMP::Stop() +bool cConnectionIGMP::Close() { - if (m_LiveStreamer) { + if (m_LiveStreamer) m_LiveStreamer->Stop(); - DELETENULL(m_LiveStreamer); - } + return cServerConnection::Close(); } cString cConnectionIGMP::ToText() const |