Skip to content

Commit fe1fa6b

Browse files
author
Jiang Yin
committed
修正一处下载速度统计错误的问题
1 parent 56910c0 commit fe1fa6b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

GameFramework/Download/DownloadManager.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,6 @@ private void OnDownloadAgentUpdate(DownloadAgent sender, int lastDownloadedLengt
335335

336336
private void OnDownloadAgentSuccess(DownloadAgent sender, int lastDownloadedLength)
337337
{
338-
m_DownloadCounter.RecordDownloadedLength(lastDownloadedLength);
339338
if (m_DownloadSuccessEventHandler != null)
340339
{
341340
m_DownloadSuccessEventHandler(this, new DownloadSuccessEventArgs(sender.Task.SerialId, sender.Task.DownloadPath, sender.Task.DownloadUri, sender.CurrentLength, sender.Task.UserData));

0 commit comments

Comments
 (0)