fixed bug when force-checking a torrent with partial pieces
This commit is contained in:
parent
9799b96df5
commit
c695729bbe
|
@ -68,6 +68,7 @@ release 0.14.4
|
|||
* optimized memory usage when checking files fails
|
||||
* fixed bug when checking a torrent twice
|
||||
* improved handling of out-of-memory conditions in disk I/O thread
|
||||
* fixed bug when force-checking a torrent with partial pieces
|
||||
|
||||
release 0.14.3
|
||||
|
||||
|
|
|
@ -91,6 +91,9 @@ namespace libtorrent
|
|||
m_reverse_cursor = int(m_piece_map.size());
|
||||
m_cursor = 0;
|
||||
|
||||
m_downloads.clear();
|
||||
m_block_info.clear();
|
||||
|
||||
m_num_filtered += m_num_have_filtered;
|
||||
m_num_have_filtered = 0;
|
||||
m_num_have = 0;
|
||||
|
|
|
@ -840,13 +840,6 @@ namespace libtorrent
|
|||
|| m_state == torrent_status::checking_resume_data)
|
||||
return;
|
||||
|
||||
if ((is_paused() && !m_auto_managed))
|
||||
{
|
||||
// set the queued for checking state, so that it's
|
||||
// checked as soon as it's resumed or made auto managed
|
||||
set_state(torrent_status::queued_for_checking);
|
||||
return;
|
||||
}
|
||||
clear_error();
|
||||
|
||||
disconnect_all();
|
||||
|
|
Loading…
Reference in New Issue