X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/3985b00fd949e38309728f537025ed319fa48c14..d87e3beb37390b59d288ae1cb43d9f887754ed56:/lib/dvb/esection.cpp diff --git a/lib/dvb/esection.cpp b/lib/dvb/esection.cpp index ae88d100..d30aef46 100644 --- a/lib/dvb/esection.cpp +++ b/lib/dvb/esection.cpp @@ -23,8 +23,11 @@ void eGTable::sectionRead(const __u8 *d) { if (m_timeout) m_timeout->stop(); - m_reader->stop(); - m_reader=0; + if (m_reader) + { + m_reader->stop(); + m_reader=0; + } m_sectionRead_conn=0; ready = 1; tableReady(error); @@ -34,9 +37,12 @@ void eGTable::sectionRead(const __u8 *d) void eGTable::timeout() { - eDebug("timeout!"); - m_reader->stop(); - m_reader=0; + eDebug("timeout %04x!", m_table.pid); + if (m_reader) + { + m_reader->stop(); + m_reader=0; + } m_sectionRead_conn=0; ready = 1; error = -1;