From 218ef6ec665fac20928d293e950458960f36c633 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Tue, 16 Aug 2011 20:11:57 +0200 Subject: plugin unloading, closed #377, some fixes --- pyLoadCore.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pyLoadCore.py') diff --git a/pyLoadCore.py b/pyLoadCore.py index be916f712..d4475e247 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -542,7 +542,7 @@ class Core(object): try: if self.config['webinterface']['activated'] and hasattr(self, "webserver"): self.webserver.quit() - #self.webserver.join() + for thread in self.threadManager.threads: thread.put("quit") pyfiles = self.files.cache.values() @@ -550,6 +550,8 @@ class Core(object): for pyfile in pyfiles: pyfile.abortDownload() + self.hookManager.coreExiting() + except: if self.debug: print_exc() -- cgit v1.2.3