Save resume data when torrent has done checking

This commit is contained in:
Vladimir Golovnev (Glassez) 2021-03-20 14:50:01 +03:00
parent ea1c4a8fc8
commit b65a714d17
No known key found for this signature in database
GPG key ID: 52A2C7DEE2DFA6F7

View file

@ -1676,6 +1676,9 @@ void TorrentImpl::handleTorrentCheckedAlert(const lt::torrent_checked_alert *p)
return;
}
if (m_nativeHandle.need_save_resume_data())
m_session->handleTorrentNeedSaveResumeData(this);
if (m_fastresumeDataRejected && !m_hasMissingFiles)
m_fastresumeDataRejected = false;