forked from premiere/premiere-libtorrent
fix issue where updates to super seeding state would not include the torrent in the state_update_alert (#1659)
This commit is contained in:
parent
c9a2fed2c9
commit
0a26ed8d1e
|
@ -1,3 +1,4 @@
|
|||
* updating super seeding would include the torrent in state_update_alert
|
||||
* fix issue where num_seeds could be greater than num_peers in torrent_status
|
||||
* finished non-seed torrents can also be in super-seeding mode
|
||||
* fix issue related to unloading torrents
|
||||
|
|
|
@ -5014,6 +5014,7 @@ namespace libtorrent
|
|||
|
||||
m_super_seeding = on;
|
||||
set_need_save_resume();
|
||||
state_updated();
|
||||
|
||||
if (m_super_seeding) return;
|
||||
|
||||
|
@ -8737,6 +8738,7 @@ namespace libtorrent
|
|||
{
|
||||
m_super_seeding = false;
|
||||
set_need_save_resume();
|
||||
state_updated();
|
||||
}
|
||||
|
||||
if (is_finished() && m_state != torrent_status::finished)
|
||||
|
|
Loading…
Reference in New Issue