Browse Source

Dead instances are a singly linked list only

Conflicts:
	src/stratifier.c
master
Con Kolivas 10 years ago
parent
commit
d64a0fa5de
  1. 2
      src/stratifier.c

2
src/stratifier.c

@ -1252,7 +1252,7 @@ static void drop_client(sdata_t *sdata, int64_t id)
ck_wlock(&sdata->instance_lock); ck_wlock(&sdata->instance_lock);
if (client) if (client)
__dec_instance_ref(client); __dec_instance_ref(client);
DL_FOREACH_SAFE(sdata->dead_instances, client, tmp) { LL_FOREACH_SAFE(sdata->dead_instances, client, tmp) {
if (!client->ref) { if (!client->ref) {
LOGINFO("Stratifier discarding instance %ld", client->id); LOGINFO("Stratifier discarding instance %ld", client->id);
LL_DELETE(sdata->dead_instances, client); LL_DELETE(sdata->dead_instances, client);

Loading…
Cancel
Save