summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-05-06 17:46:57 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-05-06 17:46:57 +0200
commit70815efe19e50718bc149ed77466a35833f8dbd1 (patch)
tree8ae616d088456a35ec981bfcd8e69703d61793f5 /pyLoadCore.py
parentdlc update (diff)
downloadpyload-70815efe19e50718bc149ed77466a35833f8dbd1.tar.xz
new request factory
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index a777d4a50..e5695ca1e 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -72,6 +72,7 @@ from module.HookManager import HookManager
from module.PullEvents import PullManager
from module.PluginManager import PluginManager
from module.FileList import FileList
+from module.RequestFactory import RequestFactory
class Core(object):
""" pyLoad Core """
@@ -252,6 +253,7 @@ class Core(object):
self.lastGuiConnected = 0
self.server_methods = ServerMethods(self)
+ self.requestFactory = RequestFactory(self)
self.file_list = FileList(self)
self.pullManager = PullManager(self)
self.thread_list = ThreadManager(self)
@@ -439,6 +441,7 @@ class Core(object):
for thread in self.thread_list.threads:
thread.join(10)
self.file_list.save()
+ self.requestFactory.clean()
except:
self.logger.info(_("error while shutting down"))