Fixed stucked downloads when stopped via aria bt-stop-timeout
This commit is contained in:
parent
30dd2d97f5
commit
a64b1b5346
|
|
@ -40,6 +40,7 @@ class AriaDownloadHelper(DownloadHelper):
|
||||||
def __onDownloadStopped(self, api, gid):
|
def __onDownloadStopped(self, api, gid):
|
||||||
if self.gid == gid:
|
if self.gid == gid:
|
||||||
LOGGER.info("Called on_download_stop")
|
LOGGER.info("Called on_download_stop")
|
||||||
|
self._listener.onDownloadError('Download stopped by user!')
|
||||||
|
|
||||||
def __onDownloadError(self, api, gid):
|
def __onDownloadError(self, api, gid):
|
||||||
with self._resource_lock:
|
with self._resource_lock:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue