etcd: fix transporter leak in test

release-2.0
Xiang Li 2014-07-16 08:34:49 -07:00 committed by Yicheng Qin
parent 16e9aa77e3
commit 638f36956b
1 changed files with 1 additions and 1 deletions

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() {