summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2017-03-29 21:00:52 +0200
committerdimitri staessens <[email protected]>2017-03-29 21:00:52 +0200
commit9611a1842dff48437cb3286d3d27c42cad40cf10 (patch)
treecf2ea7243bb1af65d4af475aa92647363319c493 /src
parent001b2bd5b79b2e6af7942d83689163e2120ff1de (diff)
downloadouroboros-9611a1842dff48437cb3286d3d27c42cad40cf10.tar.gz
ouroboros-9611a1842dff48437cb3286d3d27c42cad40cf10.zip
irmd: Fix shutdown with active accept
Diffstat (limited to 'src')
-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);
}
}