mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcd: fix transporter leak in test
This commit is contained in:
parent
16e9aa77e3
commit
638f36956b
@ -158,8 +158,8 @@ func (s *Server) Stop() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
s.mode = stop
|
s.mode = stop
|
||||||
close(s.stop)
|
|
||||||
s.t.stop()
|
s.t.stop()
|
||||||
|
close(s.stop)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Server) Bootstrap() {
|
func (s *Server) Bootstrap() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user