added invariant check in on_piece_checked to narrow down #472

This commit is contained in:
Arvid Norberg 2009-01-17 19:00:09 +00:00
parent 13ceee7a55
commit c8a784a513
1 changed files with 2 additions and 0 deletions

View File

@ -906,6 +906,8 @@ namespace libtorrent
{ {
session_impl::mutex_t::scoped_lock l(m_ses.m_mutex); session_impl::mutex_t::scoped_lock l(m_ses.m_mutex);
INVARIANT_CHECK;
if (ret == piece_manager::disk_check_aborted) if (ret == piece_manager::disk_check_aborted)
{ {
return; return;