summaryrefslogtreecommitdiff
path: root/src/irmd
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-03-29 21:00:52 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-03-29 21:00:52 +0200
commit9611a1842dff48437cb3286d3d27c42cad40cf10 (patch)
treecf2ea7243bb1af65d4af475aa92647363319c493 /src/irmd
parent001b2bd5b79b2e6af7942d83689163e2120ff1de (diff)
downloadouroboros-9611a1842dff48437cb3286d3d27c42cad40cf10.tar.gz
ouroboros-9611a1842dff48437cb3286d3d27c42cad40cf10.zip
irmd: Fix shutdown with active accept
Diffstat (limited to 'src/irmd')
-rw-r--r--src/irmd/registry.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/irmd/registry.c b/src/irmd/registry.c
index a4588963..c57230f7 100644
--- a/src/irmd/registry.c
+++ b/src/irmd/registry.c
@@ -594,6 +594,7 @@ void registry_destroy(struct list_head * registry)
list_for_each_safe(p, h, registry) {
struct reg_entry * e = list_entry(p, struct reg_entry, next);
list_del(&e->next);
+ reg_entry_set_state(e, REG_NAME_NULL);
reg_entry_destroy(e);
}
}