always post cache_flushed_alert when removing a torrent

This commit is contained in:
Arvid Norberg 2011-04-26 16:26:53 +00:00
parent 2eff66c9b0
commit 810ce884fb
1 changed files with 5 additions and 0 deletions

View File

@ -3081,6 +3081,11 @@ namespace libtorrent
m_storage->async_release_files(
boost::bind(&torrent::on_cache_flushed, shared_from_this(), _1, _2));
}
else
{
if (alerts().should_post<cache_flushed_alert>())
alerts().post_alert(cache_flushed_alert(get_handle()));
}
dequeue_torrent_check();