summaryrefslogtreecommitdiff
path: root/src/core/init.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-06-22 13:25:15 -0700
committerGarrett D'Amore <garrett@damore.org>2017-06-22 13:25:15 -0700
commitc9fffa535275ca8b3d4afedf72cb503f909418e8 (patch)
treef1016e8c855c665bd78599cfc38f409455d6d002 /src/core/init.c
parentc45eb380c6a84080fe457eabb1235166020a7a4f (diff)
downloadnng-c9fffa535275ca8b3d4afedf72cb503f909418e8.tar.gz
nng-c9fffa535275ca8b3d4afedf72cb503f909418e8.tar.bz2
nng-c9fffa535275ca8b3d4afedf72cb503f909418e8.zip
Note that we have work to do to properly clean up. TBD.
Diffstat (limited to 'src/core/init.c')
-rw-r--r--src/core/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/init.c b/src/core/init.c
index c2fe3aff..0b65013a 100644
--- a/src/core/init.c
+++ b/src/core/init.c
@@ -64,6 +64,8 @@ nni_init(void)
void
nni_fini(void)
{
+ // XXX: We should make sure that underlying sockets and
+ // file descriptors are closed. Details TBD.
nni_tran_sys_fini();
nni_ep_sys_fini();
nni_sock_sys_fini();