This commit is contained in:
nyne
2024-11-01 23:15:11 +08:00
parent a508d85ce6
commit 2d628ec9b1

View File

@@ -197,6 +197,7 @@ class ImagesDownloadTask extends DownloadTask with _TransferSpeedMixin {
_scheduleTasks(); _scheduleTasks();
} }
}); });
downloading++;
} }
} }
@@ -590,5 +591,7 @@ abstract mixin class _TransferSpeedMixin {
void stopRecorder() { void stopRecorder() {
timer?.cancel(); timer?.cancel();
timer = null; timer = null;
_currentSpeed = 0;
_bytesSinceLastSecond = 0;
} }
} }