aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bts.cpp')
-rw-r--r--src/bts.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bts.cpp b/src/bts.cpp
index a40e071d..daa8ee1d 100644
--- a/src/bts.cpp
+++ b/src/bts.cpp
@@ -32,6 +32,7 @@
#include <pdch.h>
#include <gprs_ms_storage.h>
#include <sba.h>
+#include <bts_pch_timer.h>
extern "C" {
#include <osmocom/core/talloc.h>
@@ -230,6 +231,8 @@ static int bts_talloc_destructor(struct gprs_rlcmac_bts* bts)
bts->app_info = NULL;
}
+ bts_pch_timer_stop_all(bts);
+
llist_del(&bts->list);
return 0;
}