fix state update for checking torrents (when using post_torrent_updates())

This commit is contained in:
Arvid Norberg 2011-12-24 20:12:34 +00:00
parent 67d6f5aeb4
commit 08523e3855
1 changed files with 3 additions and 0 deletions

View File

@ -2047,6 +2047,8 @@ ctx->set_verify_callback(verify_function, ec);
{
TORRENT_ASSERT(m_ses.is_network_thread());
state_updated();
if (ret == piece_manager::fatal_disk_error)
{
handle_disk_error(j);
@ -3198,6 +3200,7 @@ ctx->set_verify_callback(verify_function, ec);
state_updated();
m_need_save_resume_data = true;
state_updated();
remove_time_critical_piece(index, true);