quinn-rs / quinn

Async-friendly QUIC implementation in Rust
Apache License 2.0
3.88k stars 395 forks source link

Do I have to close the connection after I use it? #2063

Closed szguoxz closed 6 days ago

szguoxz commented 6 days ago

Will the destructor take care of it, or do I have to close it myself? If I leave it to destructor, will there be any memory leak?

Ralith commented 6 days ago

Please refer to the API docs for Connection.