Handle rare bug when download is not deleted from download_dict on error
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
This commit is contained in:
parent
52e8fbec11
commit
136924ffd4
|
|
@ -64,6 +64,7 @@ class AriaDownloadStatus(Status):
|
|||
status = MirrorStatus.STATUS_CANCELLED
|
||||
elif download.has_failed:
|
||||
status = MirrorStatus.STATUS_FAILED
|
||||
self._listener.onDownloadError('Unknown Error')
|
||||
else:
|
||||
status = MirrorStatus.STATUS_DOWNLOADING
|
||||
return status
|
||||
|
|
|
|||
Loading…
Reference in New Issue