From 6ad0aceac574a8dbf19ffba296e6249ff503e70f Mon Sep 17 00:00:00 2001 From: Joshua Luckel Date: Thu, 13 May 2021 10:27:09 +1000 Subject: [PATCH] context_t close no longer uses deprecated function --- zmq.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zmq.hpp b/zmq.hpp index 089ad09..39ca13c 100644 --- a/zmq.hpp +++ b/zmq.hpp @@ -851,7 +851,7 @@ class context_t int rc; do { - rc = zmq_ctx_destroy(ptr); + rc = zmq_ctx_term(ptr); } while (rc == -1 && errno == EINTR); ZMQ_ASSERT(rc == 0);