aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Sources/Clock.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2008-02-13 22:23:29 +0000
committerFelix Domke <tmbinc@elitedvb.net>2008-02-13 22:23:29 +0000
commit194615a88fac0c4259b3c2217c8e13372b7c3b86 (patch)
treed3ed38612b97b375d4d6b089148ab43267685a4d /lib/python/Components/Sources/Clock.py
parent829ad562bb09e7e396320cd902263ec8b73f89dd (diff)
downloadenigma2-194615a88fac0c4259b3c2217c8e13372b7c3b86.tar.gz
enigma2-194615a88fac0c4259b3c2217c8e13372b7c3b86.zip
implement proper 'destroy' functions in Converter
Diffstat (limited to 'lib/python/Components/Sources/Clock.py')
-rw-r--r--lib/python/Components/Sources/Clock.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/Components/Sources/Clock.py b/lib/python/Components/Sources/Clock.py
index 8341ebec..b59a20d5 100644
--- a/lib/python/Components/Sources/Clock.py
+++ b/lib/python/Components/Sources/Clock.py
@@ -26,3 +26,6 @@ class Clock(Source):
else:
self.clock_timer.start(1000)
self.poll()
+
+ def destroy(self):
+ self.clock_timer.timeout.get().remove(self.poll)