report the true state of super_seeding of a torrent. If the torrent leaves finished or seeding state, it will clear it already

This commit is contained in:
arvidn 2017-01-27 01:28:35 -05:00 committed by Arvid Norberg
parent 8d8f7fc4f8
commit 1bef80c3fa
2 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
* finished non-seed torrents can also be in super-seeding mode
* fix issue related to unloading torrents
* fixed finished-time calculation
* add missing min_memory_usage() and high_performance_seed() settings presets to python

View File

@ -770,7 +770,7 @@ namespace libtorrent
bool super_seeding() const
{
// we're not super seeding if we're not a seed
return m_super_seeding && is_seed();
return m_super_seeding;
}
void super_seeding(bool on);