Skip to content

Commit 17ac458

Browse files
authored
Merge pull request #490 from jlucke86/deprecated-shutdown
context_t close no longer uses deprecated function
2 parents b65dde8 + 6ad0ace commit 17ac458

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)