X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/45b3e7fc62f7eb221b13cfe0a286d52aade93bc1..88101488f95cda7aff3dadb904edff963f914bfb:/lib/dvb/esection.cpp diff --git a/lib/dvb/esection.cpp b/lib/dvb/esection.cpp index 0af62252..4758008a 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) @@ -33,7 +38,12 @@ void eGTable::sectionRead(const __u8 *d) void eGTable::timeout() { eDebug("timeout!"); - m_reader->stop(); + if (m_reader) + { + m_reader->stop(); + m_reader=0; + } + m_sectionRead_conn=0; ready = 1; error = -1; tableReady(error);