diff --git a/yt_dlp/utils.py b/yt_dlp/utils.py index 966548466..34a938362 100644 --- a/yt_dlp/utils.py +++ b/yt_dlp/utils.py @@ -5258,6 +5258,7 @@ def parse_args(self): class WebSocketsWrapper(): """Wraps websockets module to use in non-async scopes""" + pool = None def __init__(self, url, headers=None, connect=True): self.loop = asyncio.events.new_event_loop()