refactor(main): close peer server first

release-0.4
Cenk Alti 2014-03-24 18:12:20 -07:00
parent 561ad16757
commit ccb960f47f
1 changed files with 1 additions and 1 deletions

View File

@ -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 {