Introduce components
This commit is contained in:
@@ -60,11 +60,9 @@ func (t *TorrentManager) processFixers(instances []realdebrid.Torrent) {
|
||||
}
|
||||
}
|
||||
|
||||
infoCache, _ := t.DirectoryMap.Get(INT_INFO_CACHE)
|
||||
for _, id := range toDelete {
|
||||
t.api.DeleteTorrent(id)
|
||||
infoCache.Remove(id)
|
||||
t.deleteTorrentFile(id)
|
||||
t.deleteInfoFile(id)
|
||||
}
|
||||
|
||||
for _, torrent := range toRedownload {
|
||||
|
||||
Reference in New Issue
Block a user