diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2022-05-02 19:38:26 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2022-05-03 10:27:19 +0200 |
commit | 6b51f3d7253b105a51940347fd8a8d223220ce92 (patch) | |
tree | d824d37822ccb8af7655a95f8571ef1cbdc7daec | |
parent | 1ddafb378129aae71a2e000e492e956d98a665cb (diff) |
paging: Flush pending paging requests when bts obj freed
Change-Id: I3a81eda48cd44c70a2a690a0814a296ba22eaa8e
-rw-r--r-- | src/osmo-bsc/paging.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo-bsc/paging.c b/src/osmo-bsc/paging.c index 2ba0fcbc7..12937397f 100644 --- a/src/osmo-bsc/paging.c +++ b/src/osmo-bsc/paging.c @@ -311,6 +311,7 @@ void paging_init(struct gsm_bts *bts) /* Called upon the bts struct being freed */ void paging_destructor(struct gsm_bts *bts) { + paging_flush_bts(bts, NULL); osmo_timer_del(&bts->paging.credit_timer); osmo_timer_del(&bts->paging.work_timer); } |