forked from quic-go/quic-go
implement closing the quic client with an error
This commit is contained in:
@@ -16,7 +16,7 @@ func main() {
|
||||
}
|
||||
|
||||
err = client.Listen()
|
||||
defer client.Close()
|
||||
defer client.Close(nil)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user