diff --git a/src/components/App.tsx b/src/components/App.tsx index 6223e22cf..abf63974d 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -1034,6 +1034,9 @@ class App extends React.Component { const speed = await getNetworkSpeed(); const networkSpeed = speed === "-1" ? "Error!" : speed; this.setState({ networkSpeed }); + if (this.netStatsIntervalId) { + clearTimeout(this.netStatsIntervalId); + } this.netStatsIntervalId = setTimeout( this.calculateNetStats, NETWORK_SPEED_TIMEOUT_MS,