This commit is contained in:
cubedro 2015-03-22 23:22:08 +02:00
parent ad2f50ac87
commit 1ef0877d28

View File

@ -380,13 +380,14 @@ Node.prototype.stop = function()
if(this._socket) if(this._socket)
socket.end(); socket.end();
web3.reset();
if(this.updateInterval) if(this.updateInterval)
clearInterval(this.updateInterval); clearInterval(this.updateInterval);
if(this.pendingWatch) web3.reset();
this.pendingWatch.stopWatching();
// if(this.pendingWatch)
// this.pendingWatch.stopWatching();
// if(this.chainWatch) // if(this.chainWatch)
// this.chainWatch.uninstall(); // this.chainWatch.uninstall();