implement closing the quic client with an error

This commit is contained in:
Marten Seemann
2016-12-17 10:11:31 +07:00
parent c42262c2b3
commit 08c267431b
5 changed files with 16 additions and 11 deletions

View File

@@ -16,7 +16,7 @@ func main() {
}
err = client.Listen()
defer client.Close()
defer client.Close(nil)
if err != nil {
panic(err)
}