X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/c837bb32bf400c958e443d20197c4f1e2fc960f9..f24b1a713e78a462c279c8fcb10e0a1d1b9b9caa:/lib/dvb_ci/dvbci.cpp diff --git a/lib/dvb_ci/dvbci.cpp b/lib/dvb_ci/dvbci.cpp index 0c18e4f6..75250404 100644 --- a/lib/dvb_ci/dvbci.cpp +++ b/lib/dvb_ci/dvbci.cpp @@ -525,9 +525,9 @@ void eDVBCIInterfaces::removePMTHandler(eDVBServicePMTHandler *pmthandler) // eDebug("use_count is now %d", slot->use_count); slot = next; } + // check if another service is waiting for the CI + recheckPMTHandlers(); } - // check if another service is waiting for the CI - recheckPMTHandlers(); } void eDVBCIInterfaces::gotPMT(eDVBServicePMTHandler *pmthandler) @@ -898,7 +898,7 @@ eDVBCISlot::eDVBCISlot(eMainloop *context, int nr) if (fd >= 0) { - notifier = new eSocketNotifier(context, fd, eSocketNotifier::Read | eSocketNotifier::Priority | eSocketNotifier::Write); + notifier = eSocketNotifier::create(context, fd, eSocketNotifier::Read | eSocketNotifier::Priority | eSocketNotifier::Write); CONNECT(notifier->activated, eDVBCISlot::data); } else {