mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Stop processing catalog zone changes when shutting down
Abandon catz_addmodzone_cb and catz_delzone_cb processing if the loop is shutting down.
This commit is contained in:
@@ -616,3 +616,11 @@ isc_loop_now(isc_loop_t *loop) {
|
||||
|
||||
return (t);
|
||||
}
|
||||
|
||||
bool
|
||||
isc_loop_shuttingdown(isc_loop_t *loop) {
|
||||
REQUIRE(VALID_LOOP(loop));
|
||||
REQUIRE(loop->tid == isc_tid());
|
||||
|
||||
return (loop->shuttingdown);
|
||||
}
|
||||
|
Reference in New Issue
Block a user