X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/101e31a8ac8bc5dd6712f244356826dc082dc73d..1ff71d24c512a57686d8cdbef41bc0112ca9be72:/lib/base/ebase.cpp diff --git a/lib/base/ebase.cpp b/lib/base/ebase.cpp index f42b72b8..5bafe732 100644 --- a/lib/base/ebase.cpp +++ b/lib/base/ebase.cpp @@ -126,7 +126,6 @@ eMainloop::~eMainloop() void eMainloop::addSocketNotifier(eSocketNotifier *sn) { int fd = sn->getFD(); - std::map::iterator it(notifiers.find(fd)); if (m_inActivate && m_inActivate->ref.count == 1) { /* when the current active SocketNotifier's refcount is one, @@ -226,6 +225,7 @@ int eMainloop::processOneEvent(unsigned int twisted_timeout, PyObject **res, ePy } m_is_idle = 1; + ++m_idle_count; if (this == eApp) {