From 3985b00fd949e38309728f537025ed319fa48c14 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Tue, 11 Apr 2006 01:18:48 +0000 Subject: [PATCH] immediate close no more used demux fd's --- lib/dvb/esection.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/dvb/esection.cpp b/lib/dvb/esection.cpp index 0af6225..ae88d10 100644 --- a/lib/dvb/esection.cpp +++ b/lib/dvb/esection.cpp @@ -24,6 +24,8 @@ void eGTable::sectionRead(const __u8 *d) if (m_timeout) m_timeout->stop(); m_reader->stop(); + m_reader=0; + m_sectionRead_conn=0; ready = 1; tableReady(error); } else if ((m_table.flags & eDVBTableSpec::tfHaveTimeout) && m_timeout) @@ -34,6 +36,8 @@ void eGTable::timeout() { eDebug("timeout!"); m_reader->stop(); + m_reader=0; + m_sectionRead_conn=0; ready = 1; error = -1; tableReady(error); -- 2.7.4