aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/downloader/rtmp.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/downloader/rtmp.py')
-rw-r--r--yt_dlp/downloader/rtmp.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/yt_dlp/downloader/rtmp.py b/yt_dlp/downloader/rtmp.py
index 3464eeef9..217158952 100644
--- a/yt_dlp/downloader/rtmp.py
+++ b/yt_dlp/downloader/rtmp.py
@@ -92,8 +92,7 @@ class RtmpFD(FileDownloader):
self.to_screen('')
return proc.wait()
except BaseException: # Including KeyboardInterrupt
- proc.kill()
- proc.wait()
+ proc.kill(timeout=None)
raise
url = info_dict['url']