always post cache_flushed_alert when removing a torrent
This commit is contained in:
parent
2eff66c9b0
commit
810ce884fb
|
@ -3081,6 +3081,11 @@ namespace libtorrent
|
||||||
m_storage->async_release_files(
|
m_storage->async_release_files(
|
||||||
boost::bind(&torrent::on_cache_flushed, shared_from_this(), _1, _2));
|
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();
|
dequeue_torrent_check();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue