Explorar o código

got rid of dup emission

Michelle Bu %!s(int64=12) %!d(string=hai) anos
pai
achega
214514e743
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      lib/connection.js

+ 0 - 1
lib/connection.js

@@ -327,7 +327,6 @@ DataConnection.prototype.close = function() {
     dst: self._peer,
     src: self._id,
   }));
-  this.emit('close', this._peer);
 };