From d77c6321d3b4f7d18d82ab40681e8560d82b3d9f Mon Sep 17 00:00:00 2001 From: "Vladimir Golovnev (Glassez)" Date: Tue, 21 Jul 2020 14:26:31 +0300 Subject: [PATCH] Always allow to save resume data in checking state --- src/base/bittorrent/session.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/base/bittorrent/session.cpp b/src/base/bittorrent/session.cpp index a22218d8f..03ed07680 100644 --- a/src/base/bittorrent/session.cpp +++ b/src/base/bittorrent/session.cpp @@ -2318,8 +2318,7 @@ void Session::generateResumeData(const bool final) if (!torrent->isValid()) continue; if (!final && !torrent->needSaveResumeData()) continue; - if (torrent->isChecking() - || torrent->isPaused() + if (torrent->isPaused() || torrent->hasError() || torrent->hasMissingFiles()) continue;