mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 15:45:25 +00:00
omapi_lib_destroy() in destroy_managers() if no ns_g_omapimgr started
This commit is contained in:
@@ -272,6 +272,9 @@ static void
|
|||||||
destroy_managers(void) {
|
destroy_managers(void) {
|
||||||
if (ns_g_omapimgr != NULL)
|
if (ns_g_omapimgr != NULL)
|
||||||
omapi_listener_shutdown(ns_g_omapimgr);
|
omapi_listener_shutdown(ns_g_omapimgr);
|
||||||
|
else
|
||||||
|
omapi_lib_destroy();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* isc_taskmgr_destroy() will block until all tasks have exited,
|
* isc_taskmgr_destroy() will block until all tasks have exited,
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user