git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add destroy() for Components to fix bug #52
[enigma2.git]
/
lib
/
python
/
Components
/
PerServiceDisplay.py
diff --git
a/lib/python/Components/PerServiceDisplay.py
b/lib/python/Components/PerServiceDisplay.py
index
55ef3d1
..
821f6d1
100644
(file)
--- a/
lib/python/Components/PerServiceDisplay.py
+++ b/
lib/python/Components/PerServiceDisplay.py
@@
-17,6
+17,9
@@
class PerServiceBase(GUIComponent):
# start with stopped state, so simulate that
self.event(iPlayableService.evEnd)
+ def destroy(self):
+ self.navcore.event.remove(self.event)
+
def event(self, ev):
# loop up if we need to handle this event
if self.eventmap.has_key(ev):