mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
refactor(main): close peer server first
This commit is contained in:
parent
561ad16757
commit
ccb960f47f
@ -223,8 +223,8 @@ func (e *Etcd) Run() {
|
||||
}
|
||||
|
||||
func (e *Etcd) Stop() {
|
||||
e.listener.Close()
|
||||
e.peerListener.Close()
|
||||
e.listener.Close()
|
||||
}
|
||||
|
||||
func (e *Etcd) StopNotify() chan bool {
|
||||
|
Loading…
x
Reference in New Issue
Block a user