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

remove now-useless remnant of an earlier revision

This commit is contained in:
Bob Halley
1998-09-16 21:35:32 +00:00
parent 2acf552661
commit f15356f883

View File

@@ -238,12 +238,8 @@ task_detach(task_t *taskp) {
LOCK(&task->lock);
REQUIRE(task->references > 0);
task->references--;
if (task->state == task_state_shutdown &&
task->references == 0) {
manager = task->manager;
INSIST(VALID_MANAGER(manager));
if (task->state == task_state_shutdown && task->references == 0)
free_task = TRUE;
}
UNLOCK(&task->lock);
if (free_task)