diff options
author | dimitri staessens <dimitri.staessens@ugent.be> | 2017-03-29 21:00:52 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@ugent.be> | 2017-03-29 21:00:52 +0200 |
commit | 9611a1842dff48437cb3286d3d27c42cad40cf10 (patch) | |
tree | cf2ea7243bb1af65d4af475aa92647363319c493 /src/irmd | |
parent | 001b2bd5b79b2e6af7942d83689163e2120ff1de (diff) | |
download | ouroboros-9611a1842dff48437cb3286d3d27c42cad40cf10.tar.gz ouroboros-9611a1842dff48437cb3286d3d27c42cad40cf10.zip |
irmd: Fix shutdown with active accept
Diffstat (limited to 'src/irmd')
-rw-r--r-- | src/irmd/registry.c | 1 |
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); } } |