fix bug in handling force-started checking torrents

This commit is contained in:
arvidn 2015-12-12 15:08:38 -05:00
parent 550b0bb047
commit 0f9d82ab22
1 changed files with 8 additions and 0 deletions

View File

@ -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();