Don't miss to store metadata of new torrent

PR #18033.
This commit is contained in:
Vladimir Golovnev
2022-11-19 13:33:38 +03:00
committed by GitHub
parent f54b66eb75
commit 1cee69da6c
3 changed files with 5 additions and 3 deletions

View File

@@ -690,9 +690,9 @@ bool TorrentImpl::needSaveResumeData() const
return m_nativeStatus.need_save_resume;
}
void TorrentImpl::saveResumeData()
void TorrentImpl::saveResumeData(lt::resume_data_flags_t flags)
{
m_nativeHandle.save_resume_data();
m_nativeHandle.save_resume_data(flags);
m_session->handleTorrentSaveResumeDataRequested(this);
}