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