fixed invariant check when pausing a torrent

This commit is contained in:
Arvid Norberg 2008-09-27 04:58:40 +00:00
parent dabaff9980
commit 8989699e1e
1 changed files with 2 additions and 1 deletions

View File

@ -3080,7 +3080,8 @@ namespace libtorrent
{
session_impl::mutex_t::scoped_lock l(m_ses.m_mutex);
INVARIANT_CHECK;
// doesn't work with the m_paused -> m_num_peers == 0 condition
// INVARIANT_CHECK;
while (!m_connections.empty())
{