2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-02 07:35:26 +00:00

omapi_lib_destroy() in destroy_managers() if no ns_g_omapimgr started

This commit is contained in:
David Lawrence
2000-03-18 02:52:10 +00:00
parent 01bc26dc4c
commit 82e902bfde

View File

@@ -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,
*/ */