mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
fix #11
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user