aboutsummaryrefslogtreecommitdiff
path: root/tests/zt.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/zt.c')
-rw-r--r--tests/zt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/zt.c b/tests/zt.c
index 9680f82d..bf423df0 100644
--- a/tests/zt.c
+++ b/tests/zt.c
@@ -194,6 +194,7 @@ TestMain("ZeroTier Transport", {
unsigned port;
port = 5555;
+ atexit(nng_fini);
Convey("We can register the zero tier transport",
{ So(nng_zt_register() == 0); });
@@ -353,5 +354,4 @@ TestMain("ZeroTier Transport", {
trantest_test_extended("zt://" NWID "/*:%u", check_props);
- nng_fini();
})