mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-12 17:59:59 -04:00
refresh_callback needs to check if the zone is exiting
(cherry picked from commit 2e314abcf0a47acfbab55e5ef0463c04c08476be)
This commit is contained in:
parent
ebd7900670
commit
d2c50258e2
1 changed files with 6 additions and 0 deletions
|
|
@ -10431,6 +10431,12 @@ refresh_callback(isc_task_t *task, isc_event_t *event) {
|
|||
|
||||
LOCK_ZONE(zone);
|
||||
|
||||
if (DNS_ZONE_FLAG(zone, DNS_ZONEFLG_EXITING)) {
|
||||
isc_event_free(&event);
|
||||
dns_request_destroy(&zone->request);
|
||||
goto detach;
|
||||
}
|
||||
|
||||
/*
|
||||
* if timeout log and next master;
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue