mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-08 22:08:00 +00:00
libtorrent fix: should prevent the infinite sequence of auto manager triggering
This commit is contained in:
parent
0903a9e0ec
commit
77cfe2cd6c
@ -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…
Reference in New Issue
Block a user