mirror of
https://github.com/rclone/rclone.git
synced 2025-06-26 20:01:22 +08:00

This fixes the go routine leak in the stats accounting - don't start stats average loop when initializing `StatsInfo` - stop the loop instead of pausing - use a context instead of a channel - move `period` variable in `averageValues` struct Fixes #8570