some extra peer logging + fix for previous invariant check

This commit is contained in:
Arvid Norberg
2007-10-18 04:18:09 +00:00
parent b032c26bf0
commit a00f27b7ec
2 changed files with 4 additions and 3 deletions

View File

@@ -2482,7 +2482,7 @@ namespace libtorrent
TORRENT_ASSERT(total_done == 0);
}
if (m_picker)
if (m_picker && !m_abort)
{
// make sure that pieces that have completed the download
// of all their blocks are in the disk io thread's queue