summaryrefslogtreecommitdiffstats
path: root/pyload/threads/BaseThread.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/threads/BaseThread.py')
-rw-r--r--pyload/threads/BaseThread.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pyload/threads/BaseThread.py b/pyload/threads/BaseThread.py
index 9b4e5af67..a370bd661 100644
--- a/pyload/threads/BaseThread.py
+++ b/pyload/threads/BaseThread.py
@@ -30,6 +30,10 @@ class BaseThread(Thread):
def user(self):
return primary_uid(self.owner)
+ def finished(self):
+ """ Remove thread from list """
+ self.m.removeThread(self)
+
def getProgress(self):
""" retrieves progress information about the current running task