diff --git a/src/torrent.cpp b/src/torrent.cpp index 40e180a2d..06c90a8df 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -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()) + alerts().post_alert(cache_flushed_alert(get_handle())); + } dequeue_torrent_check();