per slot settings: logger deleted as not used (step 2)

This commit is contained in:
GeorgeA92 2022-08-12 15:34:48 +03:00
parent 4be9c969fd
commit aabdd0b657
1 changed files with 1 additions and 2 deletions

View File

@ -204,5 +204,4 @@ class Downloader:
mintime = time() - age
for key, slot in list(self.slots.items()):
if not slot.active and slot.lastseen + slot.delay < mintime:
inactive_slot = self.slots.pop(key)
inactive_slot.close()
self.slots.pop(key).close()