fix passing of the quic.Config in the interop client

This commit is contained in:
Marten Seemann
2020-02-27 16:25:58 +07:00
parent d53c75f05f
commit 99292576ca
2 changed files with 22 additions and 21 deletions

View File

@@ -66,10 +66,11 @@ func (r *RoundTripper) Close() error {
r.mutex.Lock()
defer r.mutex.Unlock()
for _, c := range r.clients {
for id, c := range r.clients {
if err := c.Close(); err != nil {
return err
}
delete(r.clients, id)
}
return nil
}