exit before invariant check if we're aborting, in bandwidth_manager

This commit is contained in:
Arvid Norberg 2009-04-13 06:07:16 +00:00
parent 189d618261
commit cf2654ba00
1 changed files with 1 additions and 1 deletions

View File

@ -294,8 +294,8 @@ private:
if (e) return;
mutex_t::scoped_lock l(m_mutex);
INVARIANT_CHECK;
if (m_abort) return;
INVARIANT_CHECK;
TORRENT_ASSERT(!m_history.empty());