Skip to content

Commit e569b26

Browse files
rlc_rx: stop metrics timer on stop()
1 parent 6b13d23 commit e569b26

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

lib/rlc/rlc_rx_am_entity.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ class rlc_rx_am_entity : public rlc_rx_entity, public rlc_rx_am_status_provider
152152
{
153153
// Stop all timers. Any queued handlers of timers that just expired before this call are canceled automatically
154154
if (not stopped) {
155+
high_metrics_timer.stop();
155156
status_prohibit_timer.stop();
156157
reassembly_timer.stop();
157158
stopped = true;

lib/rlc/rlc_rx_tm_entity.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ class rlc_rx_tm_entity : public rlc_rx_entity
2929

3030
void stop() final
3131
{
32-
// There are no timers to be stopped here.
32+
// Stop all timers.
33+
high_metrics_timer.stop();
3334
}
3435

3536
// Interfaces for higher layers

lib/rlc/rlc_rx_um_entity.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ class rlc_rx_um_entity : public rlc_rx_entity
104104
void stop() final
105105
{
106106
// Stop all timers. Any queued handlers of timers that just expired before this call are canceled automatically
107+
high_metrics_timer.stop();
107108
reassembly_timer.stop();
108109
}
109110

0 commit comments

Comments
 (0)