mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
add comment
This commit is contained in:
parent
f53e43c37f
commit
5dbf258e2c
@ -15,7 +15,7 @@
|
|||||||
* SOFTWARE.
|
* 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 <config.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
@ -226,6 +226,7 @@ dns_cache_detach(dns_cache_t **cachep) {
|
|||||||
UNLOCK(&cache->lock);
|
UNLOCK(&cache->lock);
|
||||||
*cachep = NULL;
|
*cachep = NULL;
|
||||||
if (free_cache) {
|
if (free_cache) {
|
||||||
|
/* XXXRTH This is not locked! */
|
||||||
if (cache->live_tasks > 0)
|
if (cache->live_tasks > 0)
|
||||||
isc_task_shutdown(cache->cleaner.task);
|
isc_task_shutdown(cache->cleaner.task);
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user