We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3837d9c commit 5a87e9bCopy full SHA for 5a87e9b
src/quic/node_quic_session.cc
@@ -1468,6 +1468,13 @@ QuicSession::~QuicSession() {
1468
if (listener_ == listener())
1469
RemoveListener(listener_);
1470
1471
+ // Stop and free the idle and retransmission timers if they are active.
1472
+ // In a clean shutdown, using Close(), these will have already been
1473
+ // stopped, but if Close() was not called and we're being destroyed
1474
+ // in GC, for instance, we need to make sure they get stopped here.
1475
+ StopIdleTimer();
1476
+ StopRetransmitTimer();
1477
+
1478
DebugStats();
1479
}
1480
0 commit comments