From 713b80f440cb414cd0b856bde0ea1b31f939777f Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 9 Nov 2024 23:45:21 -0800 Subject: refactor initialization/finalization Applications must now call nng_init(), but they can supply a set of parameters optionally. The code is now safe for multiple libraries to do this concurrently, meaning nng_fini no longer can race against another instance starting up. The nni_init checks on all public APIs are removed now. --- tests/tcp6.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/tcp6.c') diff --git a/tests/tcp6.c b/tests/tcp6.c index 79e6fa47..f6fd5a7c 100644 --- a/tests/tcp6.c +++ b/tests/tcp6.c @@ -70,8 +70,6 @@ check_props_v6(nng_msg *msg) } TestMain("TCP (IPv6) Transport", { - nni_init(); - if (has_v6()) { trantest_test_extended("tcp://[::1]:", check_props_v6); } else { -- cgit v1.2.3-70-g09d2