mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-03-10 06:20:07 +01:00
Improve 069b2aedae2279668b6051627a81fc4fbd9c146a
This commit is contained in:
parent
6c5c7d378e
commit
38885baf68
@ -68,7 +68,7 @@ class RequestDirector:
|
||||
def close(self):
|
||||
for handler in self.handlers.values():
|
||||
handler.close()
|
||||
self.handlers = {}
|
||||
self.handlers.clear()
|
||||
|
||||
def add_handler(self, handler: RequestHandler):
|
||||
"""Add a handler. If a handler of the same RH_KEY exists, it will overwrite it"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user