Skip to content

Commit 6ad0ace

Browse files
committed
context_t close no longer uses deprecated function
1 parent b65dde8 commit 6ad0ace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zmq.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ class context_t
851851

852852
int rc;
853853
do {
854-
rc = zmq_ctx_destroy(ptr);
854+
rc = zmq_ctx_term(ptr);
855855
} while (rc == -1 && errno == EINTR);
856856

857857
ZMQ_ASSERT(rc == 0);

0 commit comments

Comments
 (0)