Unlock torrent mutex when continuing purge loop.

This commit is contained in:
Jimmy Zelinskie 2014-09-03 00:52:21 -04:00
parent 417d2a3b12
commit f001489294

View file

@ -177,6 +177,7 @@ func (s *Storage) PurgeInactivePeers(purgeEmptyTorrents bool, before time.Time)
if torrent == nil {
// The torrent has already been deleted since keys were computed.
s.torrentsM.Unlock()
continue
}