diff --git a/src/torrent.cpp b/src/torrent.cpp index 8b28b9d6a..dd73b8784 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -906,6 +906,8 @@ namespace libtorrent { session_impl::mutex_t::scoped_lock l(m_ses.m_mutex); + INVARIANT_CHECK; + if (ret == piece_manager::disk_check_aborted) { return;