Michelle Bu 11 年之前
父节点
当前提交
fa52ac067e
共有 3 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      dist/peer.js
  2. 0 0
      dist/peer.min.js
  3. 1 1
      lib/dataconnection.js

+ 1 - 1
dist/peer.js

@@ -1850,10 +1850,10 @@ DataConnection.prototype._handleDataMessage = function(e) {
 
       // We can also just delete the chunks now.
       delete this._chunkedData[id];
-      return;
     }
 
     this._chunkedData[id] = chunkInfo;
+    return;
   }
 
   this.emit('data', data);

文件差异内容过多而无法显示
+ 0 - 0
dist/peer.min.js


+ 1 - 1
lib/dataconnection.js

@@ -116,10 +116,10 @@ DataConnection.prototype._handleDataMessage = function(e) {
 
       // We can also just delete the chunks now.
       delete this._chunkedData[id];
-      return;
     }
 
     this._chunkedData[id] = chunkInfo;
+    return;
   }
 
   this.emit('data', data);

部分文件因为文件数量过多而无法显示