some cleanups,
[enigma2.git] / lib / python / Components / Sources / CurrentService.py
index 8e582d55f224c4a3a244e052fd2e9a3d75b6d4b9..2501c176f787226e0b3123ece71ca27b04b43430 100644 (file)
@@ -3,8 +3,6 @@ from enigma import iPlayableService
 from Source import Source
 from Components.Element import cached
 
-from time import time
-
 class CurrentService(PerServiceBase, Source):
        def __init__(self, navcore):
                Source.__init__(self)
@@ -29,3 +27,8 @@ class CurrentService(PerServiceBase, Source):
                return self.navcore.getCurrentService()
 
        service = property(getCurrentService)
+
+       def destroy(self):
+               PerServiceBase.destroy(self)
+               Source.destroy(self)
+