diff options
author | ardi69 <ardi69@users.noreply.github.com> | 2015-03-28 02:07:58 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-28 02:07:58 +0100 |
commit | 7f70ac84f096ed1fcfe8549513fe3d29fbdb598e (patch) | |
tree | 210cf3718ec5771114c53a60fec5ad5e11c7742f | |
parent | Drag and drop fix (diff) | |
download | pyload-7f70ac84f096ed1fcfe8549513fe3d29fbdb598e.tar.xz |
Quit all threads in core.shutdown()
-rw-r--r-- | pyload/Core.py | 2 |
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() |