Skip to content

Commit 3961cf3

Browse files
committed
fixed size smaller
1 parent cab1153 commit 3961cf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dispatcher.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,6 @@ Dispatcher.prototype._setupDC = function (jd) {
529529

530530
self.store.put(index, buffer);
531531

532-
self._checkDone();
533532
if (self.useMonitor) {
534533
self.downloaded += size;
535534
self.fogDownloaded += size;
@@ -546,6 +545,7 @@ Dispatcher.prototype._setupDC = function (jd) {
546545
// jd.downloaded += size;
547546
self.emit('traffic', jd.mac, size, 'WebRTC_Node', jd.meanSpeed);
548547
}
548+
self._checkDone();
549549
} else {
550550
debug('重复下载');
551551
for (var k=0;k<self.downloaders.length;++k) {

0 commit comments

Comments
 (0)