clear ffp stat after preload

This commit is contained in:
nikk gitanes
2023-04-06 10:14:25 +03:00
parent 403384cea0
commit 66a7895bda

View File

@@ -43,6 +43,9 @@ func (t *Torrent) Preload(index int, size int64) {
defer func() {
if t.Stat == state.TorrentPreload {
t.Stat = state.TorrentWorking
// Очистка по окончании прелоада
t.BitRate = ""
t.DurationSeconds = 0
}
}()