fixed bug in auto-manager where active_downloads and active_seeds would sometimes be used incorrectly
This commit is contained in:
parent
0f351cfd62
commit
6070c59b46
|
@ -86,6 +86,8 @@ release 0.14.8
|
|||
|
||||
* ignore unkown metadata messages
|
||||
* fixed typo that would sometimes prevent queued torrents to be checked
|
||||
* fixed bug in auto-manager where active_downloads and active_seeds would
|
||||
sometimes be used incorrectly
|
||||
|
||||
release 0.14.7
|
||||
|
||||
|
|
|
@ -1813,8 +1813,10 @@ namespace aux {
|
|||
// this is not an auto managed torrent,
|
||||
// if it's running and active, decrease the
|
||||
// counters.
|
||||
--num_downloaders;
|
||||
if (t->is_finished())
|
||||
--num_seeds;
|
||||
else
|
||||
--num_downloaders;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue