瀏覽代碼

got rid of dup emission

Michelle Bu 12 年之前
父節點
當前提交
214514e743
共有 1 個文件被更改,包括 0 次插入1 次删除
  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);
 };