From 3f8de978096c9bc3f14cf442ec61549d3dc8397e Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 12 Aug 2009 15:04:38 +0200 Subject: pycurl interface, need some testing --- module/thread_list.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'module/thread_list.py') 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__) -- cgit v1.2.3