mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 14:02:05 -04:00
Purge the .resched_event in dns_cache
Instead of sweeping the cache cleaner tasks, purge the more specific cleaner.resched_event event.
This commit is contained in:
parent
48b2a5df97
commit
9f7ba679ac
1 changed files with 1 additions and 1 deletions
|
|
@ -963,7 +963,7 @@ cleaner_shutdown_action(isc_task_t *task, isc_event_t *event) {
|
|||
}
|
||||
|
||||
/* Make sure we don't reschedule anymore. */
|
||||
(void)isc_task_purge(task, NULL, DNS_EVENT_CACHECLEAN, NULL);
|
||||
(void)isc_task_purgeevent(task, cache->cleaner.resched_event);
|
||||
|
||||
isc_refcount_decrementz(&cache->live_tasks);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue