Skip to content

Commit 7afffe4

Browse files
alvasMancodebot
authored andcommitted
pdcp: properly stop metrics timer
1 parent 99b73d8 commit 7afffe4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/pdcp/pdcp_entity_rx.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ void pdcp_entity_rx::stop()
8282
stopped = true;
8383
reordering_timer.stop();
8484
token_mngr.stop();
85+
metrics_timer.stop();
8586
logger.log_debug("Stopped PDCP entity");
8687
}
8788
}

lib/pdcp/pdcp_entity_tx.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ void pdcp_entity_tx::stop()
8686
if (cfg.discard_timer.has_value()) {
8787
discard_timer.stop();
8888
}
89+
metrics_timer.stop();
8990
logger.log_debug("Stopped PDCP entity");
9091
}
9192
}

0 commit comments

Comments
 (0)