omapi_lib_destroy() must be called before isc_taskmgr_destroy() so the
latter won't block on the internal omapi task.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: rndc.c,v 1.13 2000/06/28 05:38:48 tale Exp $ */
|
||||
/* $Id: rndc.c,v 1.14 2000/06/28 16:09:53 tale Exp $ */
|
||||
|
||||
/*
|
||||
* Principal Author: DCL
|
||||
@@ -524,15 +524,17 @@ main(int argc, char **argv) {
|
||||
omapi_object_dereference(&omapimgr);
|
||||
}
|
||||
|
||||
isc_socketmgr_destroy(&socketmgr);
|
||||
isc_taskmgr_destroy(&taskmgr);
|
||||
|
||||
omapi_lib_destroy();
|
||||
|
||||
|
||||
#ifdef notyet /* XXXDCL no authentication in 9.0.0. */
|
||||
dst_lib_destroy();
|
||||
isc_entropy_detach(&entropy);
|
||||
#endif /* notyet */
|
||||
|
||||
isc_socketmgr_destroy(&socketmgr);
|
||||
isc_taskmgr_destroy(&taskmgr);
|
||||
|
||||
if (mctx != NULL) {
|
||||
if (show_final_mem)
|
||||
isc_mem_stats(mctx, stderr);
|
||||
|
||||
Reference in New Issue
Block a user