forked from premiere/premiere-libtorrent
Merge pull request #323 from arvidn/force-start-checking-fix
fix bug in handling force-started checking torrents
This commit is contained in:
commit
7b40a7ebb9
|
@ -9879,11 +9879,19 @@ namespace libtorrent
|
|||
|
||||
clear_error();
|
||||
|
||||
if (m_state == torrent_status::checking_files)
|
||||
{
|
||||
if (m_auto_managed) m_ses.trigger_auto_manage();
|
||||
if (should_check_files()) start_checking();
|
||||
}
|
||||
|
||||
state_updated();
|
||||
update_want_peers();
|
||||
update_want_tick();
|
||||
update_want_scrape();
|
||||
|
||||
if (m_state == torrent_status::checking_files) return;
|
||||
|
||||
start_announcing();
|
||||
|
||||
do_connect_boost();
|
||||
|
|
Loading…
Reference in New Issue