From 04f70d1f310e80f57b6757df980f983f1b1162e1 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Wed, 13 Feb 2019 22:38:51 -0300 Subject: [PATCH] stop when data timeout --- lbrynet/stream/stream_manager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lbrynet/stream/stream_manager.py b/lbrynet/stream/stream_manager.py index 9010f7315..b704da285 100644 --- a/lbrynet/stream/stream_manager.py +++ b/lbrynet/stream/stream_manager.py @@ -274,6 +274,7 @@ class StreamManager: except asyncio.CancelledError: downloader.stop() log.debug("stopped stream") + await self.stop_stream(stream) raise DownloadDataTimeout(downloader.sd_hash) async def download_stream_from_claim(self, node: 'Node', claim_info: typing.Dict,