summaryrefslogtreecommitdiffstats
path: root/module/thread_list.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/thread_list.py')
-rw-r--r--module/thread_list.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/module/thread_list.py b/module/thread_list.py
index c578ac752..18e445209 100644
--- a/module/thread_list.py
+++ b/module/thread_list.py
@@ -87,6 +87,12 @@ class Thread_List(object):
"""manage completing download"""
self.lock.acquire()
+ if pyfile.plugin.req.curl:
+ try:
+ pyfile.plugin.req.pycurl.close()
+ except:
+ pass
+
if not pyfile.plugin.multi_dl:
self.occ_plugins.remove(pyfile.modul.__name__)