immediate close no more used demux fd's
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 11 Apr 2006 01:18:48 +0000 (01:18 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 11 Apr 2006 01:18:48 +0000 (01:18 +0000)
lib/dvb/esection.cpp

index 0af6225..ae88d10 100644 (file)
@@ -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);