Merge remote-tracking branch 'origin/pr/3813'

This commit is contained in:
Florian Bruhin 2018-04-16 17:04:53 +02:00
commit 4a93389356

View File

@ -162,6 +162,7 @@ class DownloadItem(downloads.AbstractDownloadItem):
QTimer.singleShot(0, lambda: self._die(reply.errorString()))
def _do_cancel(self):
self._read_timer.stop()
if self._reply is not None:
self._reply.finished.disconnect(self._on_reply_finished)
self._reply.abort()