Fix an issue where we don't have the rpc so we dont have to close it

This commit is contained in:
Maran 2014-05-06 14:15:02 +02:00
parent 66af749023
commit e18b96b486
1 changed files with 3 additions and 1 deletions

View File

@ -339,7 +339,9 @@ func (s *Ethereum) Stop() {
close(s.quit) close(s.quit)
s.RpcServer.Stop() if s.RpcServer != nil {
s.RpcServer.Stop()
}
s.txPool.Stop() s.txPool.Stop()
s.stateManager.Stop() s.stateManager.Stop()