summaryrefslogtreecommitdiffstats
path: root/pyload/Core.py
diff options
context:
space:
mode:
authorGravatar ardi69 <ardi69@users.noreply.github.com> 2015-03-28 02:07:58 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-28 02:07:58 +0100
commit7f70ac84f096ed1fcfe8549513fe3d29fbdb598e (patch)
tree210cf3718ec5771114c53a60fec5ad5e11c7742f /pyload/Core.py
parentDrag and drop fix (diff)
downloadpyload-7f70ac84f096ed1fcfe8549513fe3d29fbdb598e.tar.xz
Quit all threads in core.shutdown()
Diffstat (limited to 'pyload/Core.py')
-rw-r--r--pyload/Core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/Core.py b/pyload/Core.py
index fe4ae566e..9588c9485 100644
--- a/pyload/Core.py
+++ b/pyload/Core.py
@@ -550,7 +550,7 @@ class Core(object):
if self.config['webinterface']['activated'] and hasattr(self, "webserver"):
self.webserver.quit()
- for thread in self.threadManager.threads:
+ for thread in list(self.threadManager.threads):
thread.put("quit")
pyfiles = self.files.cache.values()