X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/45b3e7fc62f7eb221b13cfe0a286d52aade93bc1..c797d4040a1dfac3873b481111a84a5c557432f3:/lib/dvb/esection.cpp diff --git a/lib/dvb/esection.cpp b/lib/dvb/esection.cpp index 0af62252..d30aef46 100644 --- a/lib/dvb/esection.cpp +++ b/lib/dvb/esection.cpp @@ -23,7 +23,12 @@ void eGTable::sectionRead(const __u8 *d) { if (m_timeout) m_timeout->stop(); - m_reader->stop(); + if (m_reader) + { + m_reader->stop(); + m_reader=0; + } + m_sectionRead_conn=0; ready = 1; tableReady(error); } else if ((m_table.flags & eDVBTableSpec::tfHaveTimeout) && m_timeout) @@ -32,8 +37,13 @@ void eGTable::sectionRead(const __u8 *d) void eGTable::timeout() { - eDebug("timeout!"); - m_reader->stop(); + eDebug("timeout %04x!", m_table.pid); + if (m_reader) + { + m_reader->stop(); + m_reader=0; + } + m_sectionRead_conn=0; ready = 1; error = -1; tableReady(error);