mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-28 08:37:22 +00:00
Fix an issue where we don't have the rpc so we dont have to close it
This commit is contained in:
parent
66af749023
commit
e18b96b486
1 changed files with 3 additions and 1 deletions
|
|
@ -339,7 +339,9 @@ func (s *Ethereum) Stop() {
|
|||
|
||||
close(s.quit)
|
||||
|
||||
s.RpcServer.Stop()
|
||||
if s.RpcServer != nil {
|
||||
s.RpcServer.Stop()
|
||||
}
|
||||
s.txPool.Stop()
|
||||
s.stateManager.Stop()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue