fix test after rebase 2

This commit is contained in:
Manuel Araoz 2014-08-22 13:32:34 -04:00
commit e00997bad8
3 changed files with 3 additions and 0 deletions

View file

@ -45,6 +45,7 @@ Network.prototype.cleanUp = function() {
this.copayerForPeer = {};
this.connections = {};
this.criticalErr = '';
this.removeAllListeners();
if (this.socket) {
this.socket.disconnect();
this.socket = null;