summaryrefslogtreecommitdiffstats
path: root/pyload/manager/thread/Download.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/manager/thread/Download.py')
-rw-r--r--pyload/manager/thread/Download.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pyload/manager/thread/Download.py b/pyload/manager/thread/Download.py
index fc76b655e..21db61ca4 100644
--- a/pyload/manager/thread/Download.py
+++ b/pyload/manager/thread/Download.py
@@ -39,6 +39,7 @@ class DownloadThread(PluginThread):
while True:
del pyfile
+ self.active = False # sets the thread inactive when it is ready to get next job
self.active = self.queue.get()
pyfile = self.active