aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2009-12-23 16:42:01 +0100
committerFraxinas <andreas.frisch@multimedia-labs.de>2009-12-23 16:42:01 +0100
commit1c928e7f3c16a040e092c8a83e83ab3f75fb5339 (patch)
tree25de3eb3d8c3af2eb00158c85b90121cf14a85cf /lib/python
parentce98272b7475d1bcd6a8ef78b17f17715ff48589 (diff)
downloadenigma2-1c928e7f3c16a040e092c8a83e83ab3f75fb5339.tar.gz
enigma2-1c928e7f3c16a040e092c8a83e83ab3f75fb5339.zip
DVDBurn: set callback in WaitForResidentTasks to prevent possible crash on user abort
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Plugins/Extensions/DVDBurn/Process.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/python/Plugins/Extensions/DVDBurn/Process.py b/lib/python/Plugins/Extensions/DVDBurn/Process.py
index 44075d64..642a898d 100644
--- a/lib/python/Plugins/Extensions/DVDBurn/Process.py
+++ b/lib/python/Plugins/Extensions/DVDBurn/Process.py
@@ -264,6 +264,7 @@ class WaitForResidentTasks(Task):
def run(self, callback):
print "waiting for %d resident task(s) %s to finish..." % (len(self.job.resident_tasks),str(self.job.resident_tasks))
+ self.callback = callback
if self.job.resident_tasks == 0:
callback(self, [])