summaryrefslogtreecommitdiffstats
path: root/module/network
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-17 14:03:52 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-17 14:03:52 +0200
commit705d0e5163876c94b9b90a440eb38b152bcba1e0 (patch)
treec48a726a761e8ffd8e88b62ac5eae598984d985a /module/network
parenthotfile (diff)
downloadpyload-705d0e5163876c94b9b90a440eb38b152bcba1e0.tar.xz
rs fix, more cleanup stuff
Diffstat (limited to 'module/network')
-rwxr-xr-xmodule/network/Request.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/module/network/Request.py b/module/network/Request.py
index 14c9f0a7a..31a5a7288 100755
--- a/module/network/Request.py
+++ b/module/network/Request.py
@@ -395,10 +395,15 @@ class Request:
self.clean()
if hasattr(self, "pycurl"):
del self.pycurl
+ if hasattr(self, "cookieJar"):
+ del self.cookieJar
def clean(self):
+ """ clean Reqest, its unusable after this """
try:
self.pycurl.close()
+ if hasattr(self, "cookieJar"):
+ del self.cookieJar
except:
pass