summaryrefslogtreecommitdiff
path: root/src/irmd
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-03-29 19:14:41 +0000
committerSander Vrijders <sander.vrijders@ugent.be>2017-03-29 19:14:41 +0000
commita167185b7fe6a459a46cb71214caf37fb0c21fa8 (patch)
treecbe997c44e034843857ea11731974b1de9e53cdb /src/irmd
parent6d331deca437e157cc9aa23a1fd5d0d4c2353cb8 (diff)
parent9611a1842dff48437cb3286d3d27c42cad40cf10 (diff)
downloadouroboros-a167185b7fe6a459a46cb71214caf37fb0c21fa8.tar.gz
ouroboros-a167185b7fe6a459a46cb71214caf37fb0c21fa8.zip
Merged in dstaesse/ouroboros/be-irmd-fix-acc (pull request #434)
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);
}
}