Merge pull request #486 from arvidn/force-recheck-1.1
make force recheck a bit more robust
This commit is contained in:
commit
5d18800e04
|
@ -2659,6 +2659,10 @@ namespace libtorrent
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
m_progress_ppm = 0;
|
||||||
|
m_checking_piece = 0;
|
||||||
|
m_num_checked_pieces = 0;
|
||||||
|
|
||||||
set_state(torrent_status::checking_files);
|
set_state(torrent_status::checking_files);
|
||||||
if (m_auto_managed) pause(true);
|
if (m_auto_managed) pause(true);
|
||||||
if (should_check_files()) start_checking();
|
if (should_check_files()) start_checking();
|
||||||
|
|
Loading…
Reference in New Issue