diff options
author | Sander Vrijders <[email protected]> | 2016-07-06 19:21:11 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2016-07-06 19:21:11 +0200 |
commit | ff09baf0cf9ec501ec54d2666e386238bc7e6389 (patch) | |
tree | 0966469900595c3f51acac2d9bb89429a826f1b0 /src/irmd/main.c | |
parent | 4fb0d2bfb7486936ef05721667f03eccf664d56e (diff) | |
parent | dbed235ff41b9ae72b188e57888bacc984a43d75 (diff) | |
download | ouroboros-ff09baf0cf9ec501ec54d2666e386238bc7e6389.tar.gz ouroboros-ff09baf0cf9ec501ec54d2666e386238bc7e6389.zip |
Merged in dstaesse/ouroboros/be-clean-exit (pull request #160)
lib: shm_du_map: Clean sdus upon exit
Diffstat (limited to 'src/irmd/main.c')
-rw-r--r-- | src/irmd/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c index ff129b71..26251858 100644 --- a/src/irmd/main.c +++ b/src/irmd/main.c @@ -1712,6 +1712,7 @@ static struct irm * irm_create() } else { LOG_INFO("IRMd already running (%d), exiting.", shm_du_map_owner(dum)); + shm_du_map_close(dum); free(instance); exit(EXIT_SUCCESS); } |