mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 09:43:07 -07:00
Never save resume data for already paused torrents
This commit is contained in:
parent
7716a27d0d
commit
2a6e38aa28
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue