From d060b308d6bfd77a9159e199cbdd8d74765fced2 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 2 Aug 2013 11:46:37 +0200 Subject: fixed aborting downloads --- pyload/datatypes/PyFile.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pyload/datatypes/PyFile.py') diff --git a/pyload/datatypes/PyFile.py b/pyload/datatypes/PyFile.py index f15ad7ee0..28ede5f8f 100644 --- a/pyload/datatypes/PyFile.py +++ b/pyload/datatypes/PyFile.py @@ -203,7 +203,10 @@ class PyFile(object): while self.id in self.m.core.threadManager.processingIds(): self.abort = True if self.plugin and self.plugin.req: - self.plugin.req.abortDownloads() + self.plugin.req.abort() + if self.plugin.dl: + self.plugin.dl.abort() + sleep(0.1) self.abort = False -- cgit v1.2.3