Browse Source

Never save resume data for already paused torrents

adaptive-webui-19844
Vladimir Golovnev (Glassez) 6 years ago
parent
commit
2a6e38aa28
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7
  1. 2
      src/base/bittorrent/session.cpp

2
src/base/bittorrent/session.cpp

@ -2350,7 +2350,7 @@ void Session::generateResumeData(bool final) @@ -2350,7 +2350,7 @@ void Session::generateResumeData(bool final)
{
foreach (TorrentHandle *const torrent, m_torrents) {
if (!torrent->isValid()) continue;
if (torrent->isChecking()) continue;
if (torrent->isChecking() || torrent->isPaused()) continue;
if (!final && !torrent->needSaveResumeData()) continue;
if (torrent->hasMissingFiles() || torrent->hasError()) continue;

Loading…
Cancel
Save