fixed finished-time calculation
This commit is contained in:
parent
62db98ca09
commit
b19cb7bd87
|
@ -1,3 +1,4 @@
|
|||
* fixed finished-time calculation
|
||||
* add missing min_memory_usage() and high_performance_seed() settings presets to python
|
||||
* fix stat cache issue that sometimes would produce incorrect resume data
|
||||
* storage optimization to peer classes
|
||||
|
|
|
@ -9535,7 +9535,7 @@ namespace libtorrent
|
|||
}
|
||||
m_became_seed = clamped_subtract(m_became_seed, seconds);
|
||||
|
||||
if (m_finished_time < seconds && is_finished())
|
||||
if (m_became_finished < seconds && is_finished())
|
||||
{
|
||||
int lost_seconds = seconds - m_became_finished;
|
||||
m_finished_time += lost_seconds;
|
||||
|
|
Loading…
Reference in New Issue