Fixed stucked downloads when stopped via aria bt-stop-timeout

This commit is contained in:
jaskaranSM 2019-12-29 19:50:01 +05:30
parent 30dd2d97f5
commit a64b1b5346

View File

@ -40,6 +40,7 @@ class AriaDownloadHelper(DownloadHelper):
def __onDownloadStopped(self, api, gid):
if self.gid == gid:
LOGGER.info("Called on_download_stop")
self._listener.onDownloadError('Download stopped by user!')
def __onDownloadError(self, api, gid):
with self._resource_lock: