forked from premiere/premiere-libtorrent
save resume data for paused torrents if they need to
This commit is contained in:
parent
b4ccc228bc
commit
90ad9ba7d9
|
@ -1914,8 +1914,8 @@ int main(int argc, char* argv[])
|
|||
{
|
||||
torrent_status& st = *i;
|
||||
if (!st.handle.is_valid()) continue;
|
||||
if (st.paused) continue;
|
||||
if (!st.has_metadata) continue;
|
||||
if (!st.need_save_resume) continue;
|
||||
|
||||
// save_resume_data will generate an alert when it's done
|
||||
st.handle.save_resume_data();
|
||||
|
|
Loading…
Reference in New Issue