瀏覽代碼

Fix file transfer

Michelle Bu 11 年之前
父節點
當前提交
93bd0c0996
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/dataconnection.js

+ 1 - 0
lib/dataconnection.js

@@ -82,6 +82,7 @@ DataConnection.prototype._configureDataChannel = function() {
 
 DataConnection.prototype._cleanup = function() {
   if (this._dc && this._dc.readyState !== 'closed') {
+    console.log('closing', this._dc);
     this._dc.close();
     this._dc = null;
   }