mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
fix(main): stop PeerServer on Etcd.Stop()
This commit is contained in:
parent
46623c00a8
commit
c5632b039a
@ -226,6 +226,7 @@ func (e *Etcd) Run() {
|
||||
}
|
||||
|
||||
func (e *Etcd) Stop() {
|
||||
e.PeerServer.Stop()
|
||||
e.peerListener.Close()
|
||||
e.listener.Close()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user