mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
Never save resume data for already paused torrents
This commit is contained in:
@@ -2350,7 +2350,7 @@ void Session::generateResumeData(bool final)
|
|||||||
{
|
{
|
||||||
foreach (TorrentHandle *const torrent, m_torrents) {
|
foreach (TorrentHandle *const torrent, m_torrents) {
|
||||||
if (!torrent->isValid()) continue;
|
if (!torrent->isValid()) continue;
|
||||||
if (torrent->isChecking()) continue;
|
if (torrent->isChecking() || torrent->isPaused()) continue;
|
||||||
if (!final && !torrent->needSaveResumeData()) continue;
|
if (!final && !torrent->needSaveResumeData()) continue;
|
||||||
if (torrent->hasMissingFiles() || torrent->hasError()) continue;
|
if (torrent->hasMissingFiles() || torrent->hasError()) continue;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user