pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/28004 )
Change subject: paging: Flush pending paging requests when bts obj freed ......................................................................
paging: Flush pending paging requests when bts obj freed
Change-Id: I3a81eda48cd44c70a2a690a0814a296ba22eaa8e --- M src/osmo-bsc/paging.c 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/04/28004/1
diff --git a/src/osmo-bsc/paging.c b/src/osmo-bsc/paging.c index 2ba0fcb..1293739 100644 --- a/src/osmo-bsc/paging.c +++ b/src/osmo-bsc/paging.c @@ -311,6 +311,7 @@ /* 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); }