summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
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()