aboutsummaryrefslogtreecommitdiff
path: root/tests/sock.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-08-14 01:07:14 -0700
committerGarrett D'Amore <garrett@damore.org>2017-08-14 13:43:01 -0700
commit827aed05d352c470c8b4b8a7e232e21e1cd19313 (patch)
treeefa08531fd37a08de7eff82cb9f946be6a0996ae /tests/sock.c
parent46c0fb89b06331b44a51cb7e56f0fb2fe3281a4b (diff)
downloadnng-827aed05d352c470c8b4b8a7e232e21e1cd19313.tar.gz
nng-827aed05d352c470c8b4b8a7e232e21e1cd19313.tar.bz2
nng-827aed05d352c470c8b4b8a7e232e21e1cd19313.zip
Idempotent taskq finalizers.
Diffstat (limited to 'tests/sock.c')
-rw-r--r--tests/sock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/sock.c b/tests/sock.c
index 8b3083ee..56159aae 100644
--- a/tests/sock.c
+++ b/tests/sock.c
@@ -14,6 +14,8 @@
TestMain("Socket Operations", {
+ Reset({ nng_fini(); });
+
Convey("We are able to open a PAIR socket", {
int rv;
nng_socket s1;