summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-16 20:11:57 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-16 20:11:57 +0200
commit218ef6ec665fac20928d293e950458960f36c633 (patch)
treeb2d279d6e45ac1b556db5df215ebb464333a0891 /pyLoadCore.py
parentupdated thrift, --clean method, youtube fix closed #379 (diff)
downloadpyload-218ef6ec665fac20928d293e950458960f36c633.tar.xz
plugin unloading, closed #377, some fixes
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py4
1 files changed, 3 insertions, 1 deletions
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()