Fix requested torrent resume data handling

Session should increase an appropriate counter each time
the torrent resume data is requested to save.
This commit is contained in:
Vladimir Golovnev (Glassez)
2019-07-22 14:22:26 +03:00
parent efae685c25
commit b822d2c380
3 changed files with 26 additions and 26 deletions

View File

@@ -530,6 +530,7 @@ bool TorrentHandle::needSaveResumeData() const
void TorrentHandle::saveResumeData()
{
m_nativeHandle.save_resume_data();
m_session->handleTorrentSaveResumeDataRequested(this);
}
int TorrentHandle::filesCount() const