]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_calendar: delete old calendars after reload 83/4683/2
authorMartin Tomec <tomec.martin@gmail.com>
Fri, 30 Dec 2016 12:59:00 +0000 (13:59 +0100)
committerMartin Tomec <tomec.martin@gmail.com>
Sat, 31 Dec 2016 07:43:50 +0000 (08:43 +0100)
commitaad29b9bcac936d511c3b8905fd458bfa6e6dde3
treeb55d2db02e0175004c39d9d932256aa49a74926f
parent059a54202c43ed19c802efb153f0da4962e5b75c
res_calendar: delete old calendars after reload

When "fetch_again_at_reload" is set in config, we create now
new object and thread for each reloaded calendar (with new
configuration). Old calendar should be then unlinked, so the
old thread can exit and free memory.

ASTERISK-26683

Change-Id: Ic17fba9371c5a8b26a6bc54ea4957c13a32a343e
res/res_calendar.c