aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-05-26 20:06:00 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-05-26 20:06:00 +0800
commit245f30c59b8550300c3f0e8bd8e080cd88fcae98 (patch)
tree289c0a15c974e1e4d69d98952ed4b4965898856f /eth
parentfd38ea414998ba0307b5f2b8e9f1d9d1b281f294 (diff)
parent9e1fd70b50dc2f545b0875bb06c93f6ccfa8962a (diff)
downloaddexon-245f30c59b8550300c3f0e8bd8e080cd88fcae98.tar
dexon-245f30c59b8550300c3f0e8bd8e080cd88fcae98.tar.gz
dexon-245f30c59b8550300c3f0e8bd8e080cd88fcae98.tar.bz2
dexon-245f30c59b8550300c3f0e8bd8e080cd88fcae98.tar.lz
dexon-245f30c59b8550300c3f0e8bd8e080cd88fcae98.tar.xz
dexon-245f30c59b8550300c3f0e8bd8e080cd88fcae98.tar.zst
dexon-245f30c59b8550300c3f0e8bd8e080cd88fcae98.zip
Merge pull request #1014 from fjl/p2p-dialer-3000
p2p: new dialer, peer management without locks
Diffstat (limited to 'eth')
-rw-r--r--eth/backend.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/backend.go b/eth/backend.go
index 938071fc7..aeaac788a 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -535,6 +535,7 @@ func (self *Ethereum) AddPeer(nodeURL string) error {
func (s *Ethereum) Stop() {
s.txSub.Unsubscribe() // quits txBroadcastLoop
+ s.net.Stop()
s.protocolManager.Stop()
s.chainManager.Stop()
s.txPool.Stop()
@@ -544,7 +545,6 @@ func (s *Ethereum) Stop() {
}
s.StopAutoDAG()
- glog.V(logger.Info).Infoln("Server stopped")
close(s.shutdownChan)
}