Pārlūkot izejas kodu

Fix file transfer

Michelle Bu 12 gadi atpakaļ
vecāks
revīzija
93bd0c0996
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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;
   }