summaryrefslogtreecommitdiffstats
path: root/module/network/HTTPDownload.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/network/HTTPDownload.py')
-rw-r--r--module/network/HTTPDownload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/network/HTTPDownload.py b/module/network/HTTPDownload.py
index 603fea7a8..0f06dcd6f 100644
--- a/module/network/HTTPDownload.py
+++ b/module/network/HTTPDownload.py
@@ -248,8 +248,8 @@ class HTTPDownload():
def close(self):
""" cleanup """
for chunk in self.chunks:
- chunk.close()
self.m.remove_handle(chunk.c)
+ chunk.close()
self.chunks = []
if hasattr(self, "m"):