paging: Flush pending paging requests when bts obj freed
Change-Id: I3a81eda48cd44c70a2a690a0814a296ba22eaa8e
This commit is contained in:
parent
1ddafb3781
commit
6b51f3d725
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue