forked from LBRYCommunity/lbry-sdk
collect finished deferred before cancel call
This commit is contained in:
parent
12d1b93b5d
commit
c5f4f58221
1 changed files with 1 additions and 1 deletions
|
@ -116,8 +116,8 @@ class ClientProtocol(Protocol, TimeoutMixin):
|
|||
d.errback(err)
|
||||
ds.append(d)
|
||||
if self._blob_download_request is not None:
|
||||
self._blob_download_request.cancel(err)
|
||||
ds.append(self._blob_download_request.finished_deferred)
|
||||
self._blob_download_request.cancel(err)
|
||||
self._blob_download_request = None
|
||||
self._downloading_blob = False
|
||||
return defer.DeferredList(ds)
|
||||
|
|
Loading…
Reference in a new issue