2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-28 13:08:06 +00:00

add comment

This commit is contained in:
Bob Halley 2000-01-21 02:49:07 +00:00
parent f53e43c37f
commit 5dbf258e2c

View File

@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: cache.c,v 1.9 2000/01/08 02:12:57 gson Exp $ */
/* $Id: cache.c,v 1.10 2000/01/21 02:49:07 halley Exp $ */
#include <config.h>
#include <limits.h>
@ -226,6 +226,7 @@ dns_cache_detach(dns_cache_t **cachep) {
UNLOCK(&cache->lock);
*cachep = NULL;
if (free_cache) {
/* XXXRTH This is not locked! */
if (cache->live_tasks > 0)
isc_task_shutdown(cache->cleaner.task);
else