Browse Source

libtorrent fix: should prevent the infinite sequence of auto manager triggering

miguelfreitas
Miguel Freitas 11 years ago
parent
commit
77cfe2cd6c
  1. 3
      libtorrent/src/torrent.cpp

3
libtorrent/src/torrent.cpp

@ -7136,7 +7136,8 @@ namespace libtorrent @@ -7136,7 +7136,8 @@ namespace libtorrent
TORRENT_ASSERT(m_ses.is_network_thread());
if (m_allow_peers == b
&& m_graceful_pause_mode == graceful) return;
&& (m_graceful_pause_mode == graceful
|| m_ses.is_paused()) ) return;
m_allow_peers = b;
if (!m_ses.is_paused())

Loading…
Cancel
Save