fixed one more assert

This commit is contained in:
Arvid Norberg 2010-10-04 03:06:51 +00:00
parent f11b1ce6a0
commit 7d94fff11a
1 changed files with 5 additions and 0 deletions

View File

@ -3281,6 +3281,11 @@ namespace libtorrent
m_request_queue.pop_back();
}
}
else
{
m_download_queue.clear();
m_request_queue.clear();
}
m_queued_time_critical = 0;
#if !defined TORRENT_DISABLE_INVARIANT_CHECKS && defined TORRENT_DEBUG