2
0
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:
Mark Andrews
2024-05-07 16:48:17 +10:00
parent 941ad2b3c5
commit 88c48dde5e
3 changed files with 34 additions and 5 deletions

View File

@@ -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);
}