diff --git a/include/libtorrent/bandwidth_manager.hpp b/include/libtorrent/bandwidth_manager.hpp index a83ba27f8..9dbfdfcdc 100644 --- a/include/libtorrent/bandwidth_manager.hpp +++ b/include/libtorrent/bandwidth_manager.hpp @@ -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());