aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Screens')
-rw-r--r--lib/python/Screens/Console.py2
-rw-r--r--lib/python/Screens/PluginBrowser.py4
-rw-r--r--lib/python/Screens/ScanSetup.py2
3 files changed, 7 insertions, 1 deletions
diff --git a/lib/python/Screens/Console.py b/lib/python/Screens/Console.py
index 622fb447..d71a7a82 100644
--- a/lib/python/Screens/Console.py
+++ b/lib/python/Screens/Console.py
@@ -63,6 +63,8 @@ class Console(Screen):
def cancel(self):
if self.run == len(self.cmdlist):
self.close()
+ self.container.appClosed.get().remove(self.runFinished)
+ self.container.dataAvail.get().remove(self.dataAvail)
def dataAvail(self, str):
self["text"].setText(self["text"].getText() + str)
diff --git a/lib/python/Screens/PluginBrowser.py b/lib/python/Screens/PluginBrowser.py
index fbbc128d..3b4ff116 100644
--- a/lib/python/Screens/PluginBrowser.py
+++ b/lib/python/Screens/PluginBrowser.py
@@ -141,8 +141,10 @@ class PluginDownloadBrowser(Screen):
def installFinished(self):
plugins.readPluginList(resolveFilename(SCOPE_PLUGINS))
+ self.container.appClosed.get().remove(self.runFinished)
+ self.container.dataAvail.get().remove(self.dataAvail)
self.close()
-
+
def runFinished(self, retval):
self.remainingdata = ""
if self.run == 0:
diff --git a/lib/python/Screens/ScanSetup.py b/lib/python/Screens/ScanSetup.py
index 3e71912b..2c636530 100644
--- a/lib/python/Screens/ScanSetup.py
+++ b/lib/python/Screens/ScanSetup.py
@@ -156,6 +156,8 @@ class CableTransponderSearchSupport:
def cableTransponderSearchSessionClosed(self, *val):
print "cableTransponderSearchSessionClosed, val", val
+ self.cable_search_container.appClosed.get().remove(self.cableTransponderSearchClosed)
+ self.cable_search_container.dataAvail.get().remove(self.getCableTransponderData)
self.cable_search_container = None
self.cable_search_session = None
if val and len(val) and val[0]: