mirror of https://github.com/poanetwork/quorum.git
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
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue