Move the torrent_checked alert post to torrent::files_checked
This commit is contained in:
parent
4740dd030e
commit
05c1a64c76
|
@ -1566,13 +1566,6 @@ namespace aux {
|
|||
m_queued_for_checking.pop_front();
|
||||
if (!m_queued_for_checking.empty())
|
||||
m_queued_for_checking.front()->start_checking();
|
||||
|
||||
if (m_alerts.should_post(alert::info))
|
||||
{
|
||||
m_alerts.post_alert(torrent_checked_alert(
|
||||
t->get_handle()
|
||||
, "torrent finished checking"));
|
||||
}
|
||||
}
|
||||
|
||||
torrent_handle session_impl::add_torrent(
|
||||
|
|
|
@ -2991,6 +2991,14 @@ namespace libtorrent
|
|||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
if (m_ses.m_alerts.should_post(alert::info))
|
||||
{
|
||||
m_ses.m_alerts.post_alert(torrent_checked_alert(
|
||||
get_handle()
|
||||
, "torrent finished checking"));
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
m_files_checked = true;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue