From cf2654ba001bf5a70aee2be9c7a27bf7d4b5ccbe Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 13 Apr 2009 06:07:16 +0000 Subject: [PATCH] exit before invariant check if we're aborting, in bandwidth_manager --- include/libtorrent/bandwidth_manager.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());