diff --git a/server/torr/torrent.go b/server/torr/torrent.go index afd29c2..a9708bc 100644 --- a/server/torr/torrent.go +++ b/server/torr/torrent.go @@ -277,7 +277,7 @@ func (t *Torrent) drop() { } func (t *Torrent) Close() bool { - if t.cache != nil && t.cache.GetUseReaders() > 0 { + if settings.ReadOnly && t.cache != nil && t.cache.GetUseReaders() > 0 { return false } t.Stat = state.TorrentClosed