aboutsummaryrefslogtreecommitdiff
path: root/lib/base/ebase.h
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-05-17 21:58:45 +0200
committerghost <andreas.monzner@multimedia-labs.de>2010-05-17 21:59:34 +0200
commit9de325c2afa2f726297412bbd14956c82627ef78 (patch)
treedd8101a0c1cb94e42d59fc09ad575fb1bb10d01b /lib/base/ebase.h
parenta87ad4f47c8badc8826a3541717fd1d26daf614b (diff)
downloadenigma2-9de325c2afa2f726297412bbd14956c82627ef78.tar.gz
enigma2-9de325c2afa2f726297412bbd14956c82627ef78.zip
lib/base/ebase.h/cpp: dont crash when try to start eTimers, eSocketNotifiers with no more existing Mainloops (on e2 shutdown)
Diffstat (limited to 'lib/base/ebase.h')
-rw-r--r--lib/base/ebase.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/base/ebase.h b/lib/base/ebase.h
index c69133f6..f6fc07d3 100644
--- a/lib/base/ebase.h
+++ b/lib/base/ebase.h
@@ -205,11 +205,9 @@ class eMainloop
void removeSocketNotifier(eSocketNotifier *sn);
void addTimer(eTimer* e);
void removeTimer(eTimer* e);
-public:
-#ifndef SWIG
static ePtrList<eMainloop> existing_loops;
-#endif
-
+ static bool isValid(eMainloop *);
+public:
eMainloop()
:app_quit_now(0),loop_level(0),retval(0), m_is_idle(0), m_idle_count(0), m_inActivate(0), m_interrupt_requested(0)
{