From: marcelveldt Date: Tue, 15 Oct 2019 06:31:08 +0000 (+0200) Subject: Update http_streamer.py X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=91024f68ebfc03216eca8a52ec687934016f6901;p=music-assistant-server.git Update http_streamer.py --- diff --git a/music_assistant/http_streamer.py b/music_assistant/http_streamer.py index 4810e9df..3dacd242 100755 --- a/music_assistant/http_streamer.py +++ b/music_assistant/http_streamer.py @@ -66,8 +66,7 @@ class HTTPStreamer(): buf_queue.task_done() except (asyncio.CancelledError, asyncio.TimeoutError): cancelled.set() - # wait for result - bg_task.result() + # wait for bg_task await asyncio.sleep(1) del buf_queue raise asyncio.CancelledError()