|
|
|
@ -2914,10 +2914,8 @@ void SessionImpl::generateResumeData()
@@ -2914,10 +2914,8 @@ void SessionImpl::generateResumeData()
|
|
|
|
|
void SessionImpl::saveResumeData() |
|
|
|
|
{ |
|
|
|
|
for (const TorrentImpl *torrent : asConst(m_torrents)) |
|
|
|
|
{ |
|
|
|
|
torrent->nativeHandle().save_resume_data(lt::torrent_handle::only_if_modified); |
|
|
|
|
++m_numResumeData; |
|
|
|
|
} |
|
|
|
|
m_numResumeData += m_torrents.size(); |
|
|
|
|
|
|
|
|
|
// clear queued storage move jobs except the current ongoing one
|
|
|
|
|
if (m_moveStorageQueue.size() > 1) |
|
|
|
|