etcd: fix transporter leak in test

This commit is contained in:
Xiang Li 2014-07-16 08:34:49 -07:00 committed by Yicheng Qin
parent 16e9aa77e3
commit 638f36956b

View File

@ -158,8 +158,8 @@ func (s *Server) Stop() {
return
}
s.mode = stop
close(s.stop)
s.t.stop()
close(s.stop)
}
func (s *Server) Bootstrap() {