mirror of
https://github.com/alexta69/metube.git
synced 2026-09-21 13:35:01 +00:00
4aa20890d4
Wraps Download.close() in try/finally and nulls self.status_queue so the per-download manager.Queue() proxy is released once the completed Download is retained in the done list. Previously every finished download permanently pinned one Manager-process connection, accumulating file descriptors until the instance hit 'too many open files' and self-terminated (#485, #980). Co-authored-by: Matt Van Horn <mvanhorn@users.noreply.github.com>