Merge pull request #323 from arvidn/force-start-checking-fix

fix bug in handling force-started checking torrents
This commit is contained in:
Arvid Norberg 2015-12-12 18:38:07 -05:00
commit 7b40a7ebb9
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();