Stop retransmit timer when destroying a connection

Otherwise we segfault because it outlives the Connection.
pull/1576/head
Jason Rhinelander 3 years ago committed by Jeff Becker
parent 027243cbcc
commit 71beae5923
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -532,6 +532,11 @@ namespace llarp::quic
{ {
if (io_trigger) if (io_trigger)
io_trigger->close(); io_trigger->close();
if (retransmit_timer)
{
retransmit_timer->stop();
retransmit_timer->close();
}
} }
void void

Loading…
Cancel
Save