From 7f70ac84f096ed1fcfe8549513fe3d29fbdb598e Mon Sep 17 00:00:00 2001 From: ardi69 Date: Sat, 28 Mar 2015 02:07:58 +0100 Subject: Quit all threads in core.shutdown() --- pyload/Core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyload/Core.py') 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() -- cgit v1.2.3