Fix access key set not updating properly
This commit is contained in:
@@ -53,6 +53,7 @@ func (t *TorrentManager) RefreshTorrents() []string {
|
||||
|
||||
// removed
|
||||
strset.Difference(t.accessKeySet, freshKeys).Each(func(accessKey string) bool {
|
||||
t.accessKeySet.Remove(accessKey)
|
||||
t.Delete(accessKey, false)
|
||||
return true
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user