disabled an expensive assert when TORRENT_EXPENSIVE_INVARIANT_CHECKS is not defined
This commit is contained in:
@@ -2520,7 +2520,7 @@ namespace libtorrent
|
|||||||
m_torrent.reset();
|
m_torrent.reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#if !defined NDEBUG && defined TORRENT_EXPENSIVE_INVARIANT_CHECKS
|
||||||
// since this connection doesn't have a torrent reference
|
// since this connection doesn't have a torrent reference
|
||||||
// no torrent should have a reference to this connection either
|
// no torrent should have a reference to this connection either
|
||||||
for (aux::session_impl::torrent_map::const_iterator i = m_ses.m_torrents.begin()
|
for (aux::session_impl::torrent_map::const_iterator i = m_ses.m_torrents.begin()
|
||||||
|
Reference in New Issue
Block a user