|
|
|
@ -7000,7 +7000,10 @@ namespace libtorrent
@@ -7000,7 +7000,10 @@ namespace libtorrent
|
|
|
|
|
m_graceful_pause_mode = graceful; |
|
|
|
|
|
|
|
|
|
if (!m_ses.is_paused() || (prev_graceful && !m_graceful_pause_mode)) |
|
|
|
|
{ |
|
|
|
|
do_pause(); |
|
|
|
|
m_ses.trigger_auto_manage(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void torrent::do_pause() |
|
|
|
@ -7090,11 +7093,7 @@ namespace libtorrent
@@ -7090,11 +7093,7 @@ namespace libtorrent
|
|
|
|
|
set_state(torrent_status::queued_for_checking); |
|
|
|
|
TORRENT_ASSERT(!m_queued_for_checking); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// if this torrent was just paused
|
|
|
|
|
// we might have to resume some other auto-managed torrent
|
|
|
|
|
m_ses.trigger_auto_manage(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_ERROR_LOGGING || defined TORRENT_LOGGING |
|
|
|
|
void torrent::log_to_all_peers(char const* message) |
|
|
|
|