refactor(main): close peer server first
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…
Reference in New Issue