bandwidth limiter assertion fix

This commit is contained in:
Arvid Norberg 2008-03-16 18:09:56 +00:00
parent e5072b80f5
commit f3f90c1a0f
1 changed files with 2 additions and 0 deletions

View File

@ -270,6 +270,8 @@ private:
mutex_t::scoped_lock l(m_mutex);
INVARIANT_CHECK;
if (m_abort) return;
TORRENT_ASSERT(!m_history.empty());
ptime now(time_now());